summaryrefslogtreecommitdiff
path: root/archivers/dact
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-08-07 07:58:28 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-08-07 07:58:28 +0000
commit1e48ead47ee3aa052ea1d7d267223f0de6c02b2f (patch)
tree08207c0b8f0a5b28845e738545c9f91d4ee47e0e /archivers/dact
parent- fix dependency list (diff)
- Respect DESTDIR for all my ports
Reviewed by: gabor Approved by: krion (mentor)
Notes
Notes: svn path=/head/; revision=169917
Diffstat (limited to 'archivers/dact')
-rw-r--r--archivers/dact/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/archivers/dact/Makefile b/archivers/dact/Makefile
index 39d61dd298bf..96cad62206f0 100644
--- a/archivers/dact/Makefile
+++ b/archivers/dact/Makefile
@@ -8,7 +8,6 @@
PORTNAME= dact
PORTVERSION= 0.8.41
-PORTREVISION= 0
CATEGORIES= archivers
MASTER_SITES= http://www.rkeene.org/files/oss/dact/release/
@@ -31,12 +30,17 @@ MAKE_ARGS= CONF=${EXAMPLESDIR}/dact.conf \
MAN1= dact.1
INSTALLS_SHLIB= yes
+post-patch:
+ @${REINPLACE_CMD} -e "s|prefix = @prefix@|prefix = ${TARGETDIR}|" \
+ -e "s|libdir = @libdir@|libdir = ${TARGETDIR}/lib|" \
+ ${WRKSRC}/Makefile.in
+
pre-install:
@${MKDIR} ${EXAMPLESDIR}
@${RM} -f ${WRKSRC}/libdact.a
post-install:
- @${CP} -n ${EXAMPLESDIR}/dact.conf ${PREFIX}/etc
+ @${CP} -n ${EXAMPLESDIR}/dact.conf ${TARGETDIR}/etc
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Docs/dact.txt ${DOCSDIR}