aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/frox
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-08-06 15:09:17 +0800
committersem <sem@FreeBSD.org>2006-08-06 15:09:17 +0800
commit9339e1d1e7173e4f7aa26a39b2277ade7e4b7985 (patch)
tree5e5449b3260888e2632e88f53b1b9a46582ef058 /ftp/frox
parentbbdd61f87b5ef0abdfb1a76b14e42f16bd1ca7d4 (diff)
downloadfreebsd-ports-gnome-9339e1d1e7173e4f7aa26a39b2277ade7e4b7985.tar.gz
freebsd-ports-gnome-9339e1d1e7173e4f7aa26a39b2277ade7e4b7985.tar.zst
freebsd-ports-gnome-9339e1d1e7173e4f7aa26a39b2277ade7e4b7985.zip
- Convert the port to be compliant with DESTDIR
Diffstat (limited to 'ftp/frox')
-rw-r--r--ftp/frox/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/ftp/frox/Makefile b/ftp/frox/Makefile
index 62bea084ece0..aa5ea8edfa1a 100644
--- a/ftp/frox/Makefile
+++ b/ftp/frox/Makefile
@@ -30,8 +30,8 @@ MAN5= frox.conf.5
PORTDOCS= SECURITY CREDITS ChangeLog FAQ.html FAQ-1.html FAQ-2.html \
FAQ-3.html FAQ-4.html FAQ-5.html FAQ-6.html FAQ-7.html \
FAQ-8.html
-PLIST_FILES= sbin/frox ${EXAMPLESDIR:S,${PREFIX}/,,}/frox.conf
-PLIST_DIRS= ${EXAMPLESDIR:S,${PREFIX}/,,}
+PLIST_FILES= sbin/frox ${EXAMPLESDIR:S,${TARGETDIR}/,,}/frox.conf
+PLIST_DIRS= ${EXAMPLESDIR:S,${TARGETDIR}/,,}
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -73,11 +73,11 @@ CONFIGURE_ARGS+= --enable-run-as-root
.endif
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/frox ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/frox ${TARGETDIR}/sbin
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/src/frox.conf ${EXAMPLESDIR}/frox.conf
- ${INSTALL_MAN} ${WRKSRC}/doc/frox.man ${PREFIX}/man/man1/frox.1
- ${INSTALL_MAN} ${WRKSRC}/doc/frox.conf.man ${PREFIX}/man/man5/frox.conf.5
+ ${INSTALL_MAN} ${WRKSRC}/doc/frox.man ${MANPREFIX}/man/man1/frox.1
+ ${INSTALL_MAN} ${WRKSRC}/doc/frox.conf.man ${MANPREFIX}/man/man5/frox.conf.5
post-install:
.if !defined(NOPORTDOCS)
@@ -86,8 +86,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.endfor
.endif
- @${STRIP_CMD} ${PREFIX}/sbin/frox; \
- ${ECHO_MSG} "Install ${RC_DIR}/frox${RC_SUFX} startup file."; \
+ @${STRIP_CMD} ${TARGETDIR}/sbin/frox; \
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>