svn commit: r339221 - in head/converters: aish ascii2binary

Baptiste Daroussin bapt at FreeBSD.org
Thu Jan 9 13:09:45 UTC 2014


Author: bapt
Date: Thu Jan  9 13:09:44 2014
New Revision: 339221
URL: http://svnweb.freebsd.org/changeset/ports/339221

Log:
  Support stage

Modified:
  head/converters/aish/Makefile
  head/converters/ascii2binary/Makefile

Modified: head/converters/aish/Makefile
==============================================================================
--- head/converters/aish/Makefile	Thu Jan  9 12:58:46 2014	(r339220)
+++ head/converters/aish/Makefile	Thu Jan  9 13:09:44 2014	(r339221)
@@ -10,14 +10,10 @@ DISTNAME=	${PORTNAME}${PORTVERSION:S/.//
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Ish/uuencode/Base64 converter
 
-NO_STAGE=	yes
-
-.include <bsd.port.options.mk>
+MAKE_ARGS=	DSTDIR=${STAGEDIR}${PREFIX}/bin
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${PREFIX}/share/doc/ja/aish
-	${INSTALL_DATA} ${WRKSRC}/aish.txt ${PREFIX}/share/doc/ja/aish
-.endif
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ja/aish
+	${INSTALL_DATA} ${WRKSRC}/aish.txt ${STAGEDIR}${PREFIX}/share/doc/ja/aish
 
 .include <bsd.port.mk>

Modified: head/converters/ascii2binary/Makefile
==============================================================================
--- head/converters/ascii2binary/Makefile	Thu Jan  9 12:58:46 2014	(r339220)
+++ head/converters/ascii2binary/Makefile	Thu Jan  9 13:09:44 2014	(r339221)
@@ -19,11 +19,10 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-PLIST_FILES=	bin/ascii2binary bin/binary2ascii
+PLIST_FILES=	bin/ascii2binary bin/binary2ascii \
+		man/man1/ascii2binary.1.gz \
+		man/man1/binary2ascii.1.gz
 
-MAN1=		ascii2binary.1 binary2ascii.1
-
-NO_STAGE=	yes
 pre-configure:
 	${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" ${WRKSRC}/Makefile.in
 


More information about the svn-ports-all mailing list