aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-25 22:52:35 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-25 22:52:35 +0800
commit45270f6f2f24cca27af6863231e18a02a9f81f88 (patch)
tree76da463385ae3b45bf031c996266803fa0bb6262
parentd6618972def0670c3606e18d4b4b53cb2e5ef32a (diff)
downloadfreebsd-ports-gnome-45270f6f2f24cca27af6863231e18a02a9f81f88.tar.gz
freebsd-ports-gnome-45270f6f2f24cca27af6863231e18a02a9f81f88.tar.zst
freebsd-ports-gnome-45270f6f2f24cca27af6863231e18a02a9f81f88.zip
Support staging
-rw-r--r--sysutils/plconfig/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/sysutils/plconfig/Makefile b/sysutils/plconfig/Makefile
index 26017357b828..98d645851d2c 100644
--- a/sysutils/plconfig/Makefile
+++ b/sysutils/plconfig/Makefile
@@ -10,20 +10,15 @@ MASTER_SITES= http://www.neon1.net/prog/ \
MAINTAINER= matt@peterson.org
COMMENT= Tool for configuring HomePlug powerline bridges
-#WRKSRC= ${WRKDIR}/${PORTNAME}
-
ALL_TARGET= plconfig
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/plconfig ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/plconfig ${STAGEDIR}${PREFIX}/bin
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>