Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2014 11:50:45 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356473 - in head/mail/mls: . files
Message-ID:  <201406041150.s54BojXD055722@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Jun  4 11:50:45 2014
New Revision: 356473
URL: http://svnweb.freebsd.org/changeset/ports/356473
QAT: https://qat.redports.org/buildarchive/r356473/

Log:
  Add staging support

Modified:
  head/mail/mls/Makefile
  head/mail/mls/files/patch-Makefile

Modified: head/mail/mls/Makefile
==============================================================================
--- head/mail/mls/Makefile	Wed Jun  4 11:49:48 2014	(r356472)
+++ head/mail/mls/Makefile	Wed Jun  4 11:50:45 2014	(r356473)
@@ -12,12 +12,9 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Program for generating various statistics on emails
 
-MAN1=		mls.1
-MANCOMPRESSED=	yes
-PLIST_FILES=	bin/mls
+PLIST_FILES=	bin/mls man/man1/mls.1.gz
 
-MAKE_ARGS+=	DESTDIR="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}"
+MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}"
 ALL_TARGET=	mls
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/mail/mls/files/patch-Makefile
==============================================================================
--- head/mail/mls/files/patch-Makefile	Wed Jun  4 11:49:48 2014	(r356472)
+++ head/mail/mls/files/patch-Makefile	Wed Jun  4 11:50:45 2014	(r356473)
@@ -1,5 +1,5 @@
---- Makefile.orig	Sat Feb 15 05:16:21 2003
-+++ Makefile	Mon Apr 21 23:18:27 2003
+--- Makefile.orig	2003-06-10 22:26:51.000000000 +0200
++++ Makefile	2014-06-04 13:39:49.442936071 +0200
 @@ -5,13 +5,13 @@
  
  # -m386 (486,pentium,pentiumpro)
@@ -16,14 +16,16 @@
  CFLAGS=-Wall $(OPTIMIZE) $(DEBUG)
  LIBS=-lm
  CC=gcc
-@@ -31,8 +31,8 @@
+@@ -37,9 +37,9 @@
  	$(CC) $(CFLAGS) -c mls_text.c -o mls_text.o
  
  install: mls
 -	install -m 755 -g root -o root -s mls $(DESTDIR)/bin
 -	install -m 644 -g root -o root mls.1 $(DESTDIR)/man/man1
-+	install -m 755 -g wheel -o root -s mls $(DESTDIR)/bin
-+	install -m 644 -g wheel -o root mls.1 $(DESTDIR)/man/man1
- 	gzip -9f $(DESTDIR)/man/man1/mls.1
+-	gzip -9f $(DESTDIR)/man/man1/mls.1
++	$(BSD_INSTALL_PROGRAM) mls $(DESTDIR)$(PREFIX)/bin
++	$(BSD_INSTALL_MAN) mls.1 $(DESTDIR)$(PREFIX)/man/man1
++	gzip -9f $(DESTDIR)$(PREFIX)/man/man1/mls.1
  	@echo "**************************************************************"
  	@echo "*** To use HTML feature or PHP wrapper, copy contents of   ***"
+ 	@echo "*** 'html' subdirectory to location accessible by your     ***"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406041150.s54BojXD055722>