aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-28 15:43:51 +0800
committerbapt <bapt@FreeBSD.org>2014-01-28 15:43:51 +0800
commit31be9b88e2e940daa1f6a01f3a0c7911e3000ea1 (patch)
tree03d15e2da7d4a651a69037c6e6b39a2dd58b2c34
parent2aeffbd22fa80bca3dbbe575566fb7e0c09df712 (diff)
downloadfreebsd-ports-gnome-31be9b88e2e940daa1f6a01f3a0c7911e3000ea1.tar.gz
freebsd-ports-gnome-31be9b88e2e940daa1f6a01f3a0c7911e3000ea1.tar.zst
freebsd-ports-gnome-31be9b88e2e940daa1f6a01f3a0c7911e3000ea1.zip
Support stage
Add DOCS option USE_GMAKE->USES=gmake
-rw-r--r--devel/hcs12mem/Makefile24
-rw-r--r--devel/hcs12mem/pkg-plist1
2 files changed, 12 insertions, 13 deletions
diff --git a/devel/hcs12mem/Makefile b/devel/hcs12mem/Makefile
index 1383837d9c31..d5081256c1f4 100644
--- a/devel/hcs12mem/Makefile
+++ b/devel/hcs12mem/Makefile
@@ -9,11 +9,11 @@ MASTER_SITES= SF
MAINTAINER= mk@capri.pl
COMMENT= Software to manipulate EEPROM/FLASH memory
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-MANCOMPRESSED= no
+OPTIONS_DEFINE= DOCS
+
+USES= gmake
+GNU_CONFIGURE= yes
-MAN1= hcs12mem.1
DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
DATS= mc9s12a32.dat mc9s12a64.dat mc9s12a128.dat \
mc9s12a256.dat mc9s12a512.dat mc9s12d32.dat \
@@ -26,14 +26,12 @@ DATS= mc9s12a32.dat mc9s12a64.dat mc9s12a128.dat \
mc9s12h256.dat mc9s12ne64.dat mc9s12uf32.dat \
mc9s12xd256.dat mc9s12xd512.dat
-NO_STAGE= yes
do-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
- @${MKDIR} ${DATADIR}
- @${INSTALL_DATA} ${DATS:S,^,${WRKSRC}/target/,} ${DATADIR}/
- @${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/doc/,} ${MAN1PREFIX}/man/man1
- @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${DATS:S,^,${WRKSRC}/target/,} ${STAGEDIR}${DATADIR}/
+ ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
.include <bsd.port.mk>
diff --git a/devel/hcs12mem/pkg-plist b/devel/hcs12mem/pkg-plist
index 1d2acd1c2b2f..cceb7f654f8c 100644
--- a/devel/hcs12mem/pkg-plist
+++ b/devel/hcs12mem/pkg-plist
@@ -1,4 +1,5 @@
bin/hcs12mem
+man/man1/hcs12mem.1.gz
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog