diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 19:22:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 19:22:35 +0000 |
commit | d0d3f491bd00d85189ed0c4a253352c438d0cb62 (patch) | |
tree | 9b1c96f4359d26a2c394b14d55dd0d4823e4140c /comms/jpilot/Makefile | |
parent | d75f591abaa4018b26976eb90e6f509a8bca6f61 (diff) | |
download | pkgsrc-d0d3f491bd00d85189ed0c4a253352c438d0cb62.tar.gz |
DESTDIR support. Based on patch from Steven Drake.
Diffstat (limited to 'comms/jpilot/Makefile')
-rw-r--r-- | comms/jpilot/Makefile | 17 |
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" |