diff options
author | wg <wg@FreeBSD.org> | 2014-08-08 21:01:14 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2014-08-08 21:01:14 +0800 |
commit | 2af4572f766f063f5dec23868cdc5b72896ad178 (patch) | |
tree | 85f99e2f0528bf22e45bc9cd610d8684e2d1b557 /japanese/rogue_s | |
parent | 0b98fc360c6a5df109990eea4c19a616f1333115 (diff) | |
download | freebsd-ports-gnome-2af4572f766f063f5dec23868cdc5b72896ad178.tar.gz freebsd-ports-gnome-2af4572f766f063f5dec23868cdc5b72896ad178.tar.zst freebsd-ports-gnome-2af4572f766f063f5dec23868cdc5b72896ad178.zip |
japanese/rogue_s: support stage
PR: 192502
Submitted by: IWAMOTO Kouichi (with changes)
Diffstat (limited to 'japanese/rogue_s')
-rw-r--r-- | japanese/rogue_s/Makefile | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/japanese/rogue_s/Makefile b/japanese/rogue_s/Makefile index 2b4e34873042..44458df5efb1 100644 --- a/japanese/rogue_s/Makefile +++ b/japanese/rogue_s/Makefile @@ -20,9 +20,7 @@ PATCHFILES= rogue_s.patch04 MAINTAINER= ports@FreeBSD.org COMMENT= Japanized and message separated version of Rogue-clone: Version II -.if !defined(NOPORTDATA) BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf -.endif WRKSRC= ${WRKDIR}/${PORTNAME} MAKEFILE= Makefile.nix @@ -30,15 +28,13 @@ ALL_TARGET= rogue MAKE_ENV+= DATADIR="${DATADIR}" SUB_FILES= rogue_s.6 -MAN6= rogue_s.6 -MANLANG= ja -MANCOMPRESSED= no -PLIST_FILES= bin/rogue_s +PLIST_FILES= bin/rogue_s man/ja/man6/rogue_s.6.gz PORTDATA= mesg mesg_E mesg_fj mesg_utmc PORTDOCS= README README.1st README.doc options.doc rogue.doc -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + pre-patch: @(\ cd ${WRKSRC} ; \ @@ -47,7 +43,6 @@ pre-patch: ) post-build: -.if !defined(NOPORTDATA) ${GZCAT} ${FILESDIR}/mesg_fj.gz > ${WRKDIR}/mesg_fj @(\ cd ${WRKDIR} ; \ @@ -55,25 +50,18 @@ post-build: ${AWK} '{if (/^\#/) x++} {if(x) print $$0}' | ${SH} \ ) nkf -e ${WRKDIR}/mesg_utmc > ${WRKDIR}/mesg_utmc.euc -.endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rogue ${PREFIX}/bin/rogue_s - ${INSTALL_MAN} ${WRKDIR}/rogue_s.6 ${MAN6PREFIX}/man/ja/man6/rogue_s.6 - -.if !defined(NOPORTDATA) - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/mesg ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/mesg_E ${DATADIR} - ${INSTALL_DATA} ${WRKDIR}/mesg_fj ${DATADIR} - ${INSTALL_DATA} ${WRKDIR}/mesg_utmc.euc ${DATADIR}/mesg_utmc -.endif - -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/rogue ${STAGEDIR}${PREFIX}/bin/rogue_s + ${INSTALL_MAN} ${WRKDIR}/rogue_s.6 ${STAGEDIR}${MANPREFIX}/man/ja/man6/rogue_s.6 + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/mesg ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/mesg_E ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKDIR}/mesg_fj ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKDIR}/mesg_utmc.euc ${STAGEDIR}${DATADIR}/mesg_utmc + ${MKDIR} ${STAGEDIR}${DOCSDIR} for _file in ${PORTDOCS}; do \ - ${INSTALL_DATA} ${WRKSRC}/"$$_file" ${DOCSDIR} ; \ + ${INSTALL_DATA} ${WRKSRC}/"$$_file" ${STAGEDIR}${DOCSDIR} ; \ done -.endif .include <bsd.port.mk> |