aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hcs12mem
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hcs12mem')
-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