svn commit: r348067 - head/graphics/leafpak

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 13 13:41:59 UTC 2014


Author: ehaupt
Date: Thu Mar 13 13:41:59 2014
New Revision: 348067
URL: http://svnweb.freebsd.org/changeset/ports/348067
QAT: https://qat.redports.org/buildarchive/r348067/

Log:
  - Support staging
  - Define DOCS option

Modified:
  head/graphics/leafpak/Makefile

Modified: head/graphics/leafpak/Makefile
==============================================================================
--- head/graphics/leafpak/Makefile	Thu Mar 13 13:38:24 2014	(r348066)
+++ head/graphics/leafpak/Makefile	Thu Mar 13 13:41:59 2014	(r348067)
@@ -11,13 +11,13 @@ COMMENT=	Graphic file cutter for LEAF/AQ
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/leafpak ${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/leafpak2 ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/ja/leafpak
-	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja/leafpak
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/leafpak ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/leafpak2 ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ja/leafpak
+	${INSTALL_DATA} ${WRKSRC}/README \
+		${STAGEDIR}${PREFIX}/share/doc/ja/leafpak
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list