diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-08-07 07:58:28 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-08-07 07:58:28 +0000 |
commit | 1e48ead47ee3aa052ea1d7d267223f0de6c02b2f (patch) | |
tree | 08207c0b8f0a5b28845e738545c9f91d4ee47e0e /archivers/dact/Makefile | |
parent | d526191223fa50016717515a84de2e8b56a107d2 (diff) | |
download | ports-1e48ead47ee3aa052ea1d7d267223f0de6c02b2f.tar.gz ports-1e48ead47ee3aa052ea1d7d267223f0de6c02b2f.zip |
- 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/Makefile')
-rw-r--r-- | archivers/dact/Makefile | 8 |
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} |