aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-12 00:44:18 +0800
committerpawel <pawel@FreeBSD.org>2014-04-12 00:44:18 +0800
commit7d93aeb7e507e471886095569103b4bb08ef646b (patch)
tree9c1868cd830d0674516264f1f1bbe539296cec11
parent5ce2b9cd3253453b18c17803368db644edc82a24 (diff)
downloadfreebsd-ports-gnome-7d93aeb7e507e471886095569103b4bb08ef646b.tar.gz
freebsd-ports-gnome-7d93aeb7e507e471886095569103b4bb08ef646b.tar.zst
freebsd-ports-gnome-7d93aeb7e507e471886095569103b4bb08ef646b.zip
Add staging support
-rw-r--r--games/editss/Makefile14
-rw-r--r--games/editss/pkg-plist1
2 files changed, 7 insertions, 8 deletions
diff --git a/games/editss/Makefile b/games/editss/Makefile
index b7adc33d833b..c04d532dc22c 100644
--- a/games/editss/Makefile
+++ b/games/editss/Makefile
@@ -14,20 +14,18 @@ COMMENT= Editor for XPilot shipshapes
USES= imake
USE_XORG= x11 xaw xmu xt
ALL_TARGET= editss
-MAN6= editss.6
-NO_INSTALL_MANPAGES= yes
+
SUB_FILES= editss
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|xxpms/ships2|.xpilot-shipshapes|' \
${WRKSRC}/editssrc
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/editss ${PREFIX}/bin/editss
- ${INSTALL_PROGRAM} ${WRKSRC}/editss ${PREFIX}/libexec
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/editssrc ${WRKSRC}/ships ${DATADIR}
- ${INSTALL_MAN} ${WRKSRC}/editss.6 ${MANPREFIX}/man/man6
+ ${INSTALL_SCRIPT} ${WRKDIR}/editss ${STAGEDIR}${PREFIX}/bin/editss
+ ${INSTALL_PROGRAM} ${WRKSRC}/editss ${STAGEDIR}${PREFIX}/libexec
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/editssrc ${WRKSRC}/ships ${STAGEDIR}${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/editss.6 ${STAGEDIR}${MANPREFIX}/man/man6
.include <bsd.port.mk>
diff --git a/games/editss/pkg-plist b/games/editss/pkg-plist
index 6075379b7e1e..9de408e99fa1 100644
--- a/games/editss/pkg-plist
+++ b/games/editss/pkg-plist
@@ -1,5 +1,6 @@
bin/editss
libexec/editss
+man/man6/editss.6.gz
%%DATADIR%%/editssrc
%%DATADIR%%/ships
@dirrm %%DATADIR%%