summaryrefslogtreecommitdiff
path: root/comms/malsync/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/malsync/Makefile')
-rw-r--r--comms/malsync/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/comms/malsync/Makefile b/comms/malsync/Makefile
index 11f68bdff69..c672ba0b4bc 100644
--- a/comms/malsync/Makefile
+++ b/comms/malsync/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/01/26 01:50:54 markd Exp $
+# $NetBSD: Makefile,v 1.22 2008/03/03 05:33:32 jlam Exp $
#
DISTNAME= ${PKGNAME_NOREV:S/-/_/}.src
@@ -12,6 +12,8 @@ COMMENT= Utility to synchronize Palm Pilots to the AvantGo.com service
CONFLICTS+= libmal-[0-9]*
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/malsync
USE_TOOLS+= gmake
MAKE_ENV+= PILOT_LINK_DIR=${BUILDLINK_PREFIX.pilot-link-libs}
@@ -19,10 +21,10 @@ CPPFLAGS+= -D__unix__=1
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/malsync ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/malsync
+ ${INSTALL_PROGRAM} ${WRKSRC}/malsync ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/malsync
.for doc in README_avantgo README_malsync
- ${INSTALL_DATA} ${FILESDIR}/${doc} ${PREFIX}/share/doc/malsync
+ ${INSTALL_DATA} ${FILESDIR}/${doc} ${DESTDIR}${PREFIX}/share/doc/malsync
.endfor
.include "../../comms/pilot-link-libs/buildlink3.mk"