summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-08-06 07:09:17 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-08-06 07:09:17 +0000
commit686d94e44bc7012d7a8c7e3a9d7a03b73dca2c65 (patch)
tree566f2edf0beef8dda2ff76d7c294815b623548f1 /ftp
parent- Fix pointyhat building (it strange, but it doesn't build there. Fixed (diff)
- Convert the port to be compliant with DESTDIR
Notes
Notes: svn path=/head/; revision=169800
Diffstat (limited to 'ftp')
-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>