summaryrefslogtreecommitdiff
path: root/comms/jpilot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/jpilot/Makefile')
-rw-r--r--comms/jpilot/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/comms/jpilot/Makefile b/comms/jpilot/Makefile
index 905ac2024c1..7c64c0b77df 100644
--- a/comms/jpilot/Makefile
+++ b/comms/jpilot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2010/01/17 12:02:08 wiz Exp $
+# $NetBSD: Makefile,v 1.68 2010/01/27 19:22:35 joerg Exp $
#
DISTNAME= jpilot-1.6.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.jpilot.org/
COMMENT= Desktop organizer application for the palm pilot
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= jpilot-libplugin-[0-9]*
USE_LIBTOOL= YES
@@ -36,13 +38,12 @@ PLUGINSDIR= ${PREFIX}/lib/jpilot/plugins
post-extract:
${RM} -f ${WRKSRC}/po/Makefile.in
+INSTALLATION_DIRS= ${DOCDIR} ${INCDIR} ${PLUGINSIDR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${INCDIR}
- ${INSTALL_DATA_DIR} ${PLUGINSDIR}
- cd ${WRKSRC}; ${INSTALL_DATA} libplugin.h prefs.h ${INCDIR}
- ${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCDIR}
- cd ${WRKSRC}/docs; ${INSTALL_MAN} *.1 ${MAN1DIR}
- ${TOUCH} ${PLUGINSDIR}/.directory
+ cd ${WRKSRC} && ${INSTALL_DATA} libplugin.h prefs.h ${DESTDIR}${INCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/BUGS ${DESTDIR}${DOCDIR}
+ ${INSTALL_MAN} ${WRKSRC}/docs/*.1 ${DESTDIR}${MAN1DIR}
+ ${TOUCH} ${DESTDIR}${PLUGINSDIR}/.directory
.include "../../mk/bsd.pkg.mk"