aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-13 21:41:59 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-13 21:41:59 +0800
commit9e2463ef831c3eb05b21f5ab003bf9d12108f93f (patch)
treed6631875616068bd49198b5cac92c497be6c4f94
parent38359195b0963ac7bbb9efa141b018584d736b77 (diff)
downloadfreebsd-ports-gnome-9e2463ef831c3eb05b21f5ab003bf9d12108f93f.tar.gz
freebsd-ports-gnome-9e2463ef831c3eb05b21f5ab003bf9d12108f93f.tar.zst
freebsd-ports-gnome-9e2463ef831c3eb05b21f5ab003bf9d12108f93f.zip
- Support staging
- Define DOCS option
-rw-r--r--graphics/leafpak/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/leafpak/Makefile b/graphics/leafpak/Makefile
index f0803a623bca..cbb4b746719e 100644
--- a/graphics/leafpak/Makefile
+++ b/graphics/leafpak/Makefile
@@ -11,13 +11,13 @@ COMMENT= Graphic file cutter for LEAF/AQUAPLUS PAK format archives
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>