summaryrefslogtreecommitdiff
path: root/comms/locator
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2013-12-30 01:20:55 +0000
committerDiane Bruce <db@FreeBSD.org>2013-12-30 01:20:55 +0000
commit6663e8d08be7a2bcc5ba279018c8bba293e96433 (patch)
treeeb968855040a9ba4f3f24511453c34650c769d63 /comms/locator
parent- Enable stage (diff)
- Enable stage
Notes
Notes: svn path=/head/; revision=338058
Diffstat (limited to 'comms/locator')
-rw-r--r--comms/locator/Makefile14
-rw-r--r--comms/locator/pkg-plist3
2 files changed, 6 insertions, 11 deletions
diff --git a/comms/locator/Makefile b/comms/locator/Makefile
index a237099890e6..4f7a3e1459f8 100644
--- a/comms/locator/Makefile
+++ b/comms/locator/Makefile
@@ -10,18 +10,10 @@ MAINTAINER= db@FreeBSD.org
COMMENT= Grid square calculator program used in Amateur Radio and GPS work
CONFLICTS= wwl*
-PORTDOCS= README
-PLIST_FILES= bin/locator
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/locator ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- @${ECHO} ""
- @${ECHO} "locator README installed in ${DOCSDIR}"
- @${ECHO} ""
-.endif
+ @${INSTALL_PROGRAM} ${WRKSRC}/locator ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/comms/locator/pkg-plist b/comms/locator/pkg-plist
new file mode 100644
index 000000000000..bdeb87e39cce
--- /dev/null
+++ b/comms/locator/pkg-plist
@@ -0,0 +1,3 @@
+bin/locator
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%