Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2013 21:03:54 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337915 - head/converters/mmencode
Message-ID:  <201312282103.rBSL3sml057211@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sat Dec 28 21:03:54 2013
New Revision: 337915
URL: http://svnweb.freebsd.org/changeset/ports/337915

Log:
  Enable stage support

Modified:
  head/converters/mmencode/Makefile

Modified: head/converters/mmencode/Makefile
==============================================================================
--- head/converters/mmencode/Makefile	Sat Dec 28 21:03:18 2013	(r337914)
+++ head/converters/mmencode/Makefile	Sat Dec 28 21:03:54 2013	(r337915)
@@ -14,17 +14,17 @@ COMMENT=	Translate to and from mail-orie
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src/metamail
 
-PLIST_FILES=	bin/mmencode bin/mimencode
-MAN1=		mmencode.1
-MLINKS=		mmencode.1 mimencode.1
+PLIST_FILES=	bin/mmencode bin/mimencode \
+		man/man1/mmencode.1.gz man/man1/mimencode.1.gz
 
 ALL_TARGET=	mmencode
 MAKE_ARGS=	CFLAGS="${CFLAGS}"
 
-NO_STAGE=	yes
 do-install:
-	@cd ${WRKSRC}		&& ${INSTALL_PROGRAM} mmencode ${PREFIX}/bin
-	@cd ${WRKSRC}/../man	&& ${INSTALL_MAN} mmencode.1 ${PREFIX}/man/man1
-	@cd ${PREFIX}/bin	&& ${LN} -s mmencode mimencode
+	@${INSTALL_PROGRAM} ${WRKSRC}/mmencode ${STAGEDIR}${PREFIX}/bin
+	@${INSTALL_MAN} ${WRKSRC}/../man/mmencode.1 \
+		${STAGEDIR}${MAN1PREFIX}/man/man1/
+	@cd ${STAGEDIR}${MAN1PREFIX}/man/man1 && ${LN} -s mmencode.1 mimencode.1
+	@cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s mmencode mimencode
 
 .include <bsd.port.mk>



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