summaryrefslogtreecommitdiff
path: root/comms/scmxx
diff options
context:
space:
mode:
authorabs <abs>2009-12-17 21:56:22 +0000
committerabs <abs>2009-12-17 21:56:22 +0000
commit929798d4894bebf34c0e7bc1c0292bf7c1b3d9e8 (patch)
treea548dc123d3217a570bc9423d67d7ef2ba0060e2 /comms/scmxx
parent0830657b5f9fa07af50a52438c39fe7d0da232db (diff)
downloadpkgsrc-929798d4894bebf34c0e7bc1c0292bf7c1b3d9e8.tar.gz
PKG_DESTDIR_SUPPORT
Diffstat (limited to 'comms/scmxx')
-rw-r--r--comms/scmxx/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/comms/scmxx/Makefile b/comms/scmxx/Makefile
index dd65e4df732..4d82de3940e 100644
--- a/comms/scmxx/Makefile
+++ b/comms/scmxx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2006/07/13 10:16:30 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2009/12/17 21:58:33 abs Exp $
#
DISTNAME= scmxx-0.9.0
@@ -14,21 +14,22 @@ GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt
+INSTALLATION_DIRS+= share/doc/scmxx share/examples/scmxx
+PKG_DESTDIR_SUPPORT= user-destdir
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scmxx
${INSTALL_DATA} ${WRKSRC}/docs/doc_sources.txt \
- ${PREFIX}/share/doc/scmxx
+ ${DESTDIR}${PREFIX}/share/doc/scmxx
${INSTALL_DATA} ${WRKSRC}/docs/gsmcharset.txt \
- ${PREFIX}/share/doc/scmxx
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/scmxx
+ ${DESTDIR}${PREFIX}/share/doc/scmxx
${INSTALL_DATA} ${WRKSRC}/examples/debian_with_scmxx.bmp \
- ${PREFIX}/share/examples/scmxx
+ ${DESTDIR}${PREFIX}/share/examples/scmxx
${INSTALL_DATA} ${WRKSRC}/examples/sms.txt \
- ${PREFIX}/share/examples/scmxx
+ ${DESTDIR}${PREFIX}/share/examples/scmxx
${INSTALL_DATA} ${WRKSRC}/examples/vCalendar.vcs \
- ${PREFIX}/share/examples/scmxx
+ ${DESTDIR}${PREFIX}/share/examples/scmxx
${INSTALL_DATA} ${WRKSRC}/examples/vCard.vcf \
- ${PREFIX}/share/examples/scmxx
+ ${DESTDIR}${PREFIX}/share/examples/scmxx
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"