pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/jpilot DESTDIR support. Based on patch from Stev...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9fbf5f0a5f2f
branches: trunk
changeset: 570278:9fbf5f0a5f2f
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jan 27 19:22:35 2010 +0000
description:
DESTDIR support. Based on patch from Steven Drake.
diffstat:
comms/jpilot/Makefile | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diffs (38 lines):
diff -r d2b626d0b237 -r 9fbf5f0a5f2f comms/jpilot/Makefile
--- a/comms/jpilot/Makefile Wed Jan 27 19:13:37 2010 +0000
+++ b/comms/jpilot/Makefile Wed Jan 27 19:22:35 2010 +0000
@@ -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 @@
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 @@
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"
Home |
Main Index |
Thread Index |
Old Index