aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2013-12-30 09:20:55 +0800
committerdb <db@FreeBSD.org>2013-12-30 09:20:55 +0800
commitad6d49cc073d29782111ad573ae9ab3e80aad1f1 (patch)
treeeb968855040a9ba4f3f24511453c34650c769d63 /comms
parent5f250609ab0cadc1560649b7d245fd8c127a0da7 (diff)
downloadfreebsd-ports-gnome-ad6d49cc073d29782111ad573ae9ab3e80aad1f1.tar.gz
freebsd-ports-gnome-ad6d49cc073d29782111ad573ae9ab3e80aad1f1.tar.zst
freebsd-ports-gnome-ad6d49cc073d29782111ad573ae9ab3e80aad1f1.zip
- Enable stage
Diffstat (limited to 'comms')
-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%%