aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/dact
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-08-07 15:58:28 +0800
committermiwi <miwi@FreeBSD.org>2006-08-07 15:58:28 +0800
commit1b5538a51a22e1175099fe908682112d9ba03ff8 (patch)
treed006e03928822cdb944c6f1ee3c6815d6710a02d /archivers/dact
parent3eb8cf21a813a24200afe73bc941e88b17d9ba3c (diff)
downloadfreebsd-ports-graphics-1b5538a51a22e1175099fe908682112d9ba03ff8.tar.gz
freebsd-ports-graphics-1b5538a51a22e1175099fe908682112d9ba03ff8.tar.zst
freebsd-ports-graphics-1b5538a51a22e1175099fe908682112d9ba03ff8.zip
- Respect DESTDIR for all my ports
Reviewed by: gabor Approved by: krion (mentor)
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 39d61dd298b..96cad62206f 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}