summaryrefslogtreecommitdiff
path: root/comms/jpilot/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-21 07:14:02 +0000
committerjlam <jlam@pkgsrc.org>2002-09-21 07:14:02 +0000
commit01161e26b1f76c6d120864f0dd9a07f49b7e8134 (patch)
tree3550c4056d7139297a4cb5f3bd1d3a2618566a82 /comms/jpilot/Makefile
parent54822e4a54c645bc9c4fbcdc3fa656d3818c95fd (diff)
downloadpkgsrc-01161e26b1f76c6d120864f0dd9a07f49b7e8134.tar.gz
* buildlink1 -> buildlink2
* separate the INSTALL_DATA_DIR arguments into multiple commands, as the Solaris install can't handle lots of directories all at once * style nits
Diffstat (limited to 'comms/jpilot/Makefile')
-rw-r--r--comms/jpilot/Makefile39
1 files changed, 23 insertions, 16 deletions
diff --git a/comms/jpilot/Makefile b/comms/jpilot/Makefile
index a04444f5020..8556488efbe 100644
--- a/comms/jpilot/Makefile
+++ b/comms/jpilot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2002/09/10 16:06:34 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2002/09/21 07:14:02 jlam Exp $
#
DISTNAME= jpilot-0.99
@@ -14,15 +14,18 @@ BUILD_USES_MSGFMT= # defined
CONFLICTS+= jpilot-libplugin-[0-9]*
-USE_BUILDLINK_ONLY= # defined
+USE_BUILDLINK2= # defined
+USE_X11= # defined
+
GNU_CONFIGURE= # defined
-USE_LIBTOOL= # defined
+CONFIGURE_ARGS+= --with-gtk-prefix="${BUILDLINK_PREFIX.gtk}"
+CONFIGURE_ARGS+= --with-pilot-prefix="${BUILDLINK_PREFIX.pilot-link-libs}"
+CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
+USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-CONFIGURE_ARGS+= --with-gtk-prefix="${BUILDLINK_DIR}"
-CONFIGURE_ARGS+= --with-pilot-prefix="${BUILDLINK_DIR}"
-CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
+DOCDIR= ${PREFIX}/share/doc/jpilot
INCDIR= ${PREFIX}/include/jpilot
HTMLDIR= ${PREFIX}/share/doc/html/jpilot
MAN1DIR= ${PREFIX}/man/man1
@@ -32,21 +35,25 @@ post-extract:
${RM} -f ${WRKSRC}/po/Makefile.in
pre-configure:
- ${SED} "s|@PREFIX@|${PREFIX}|g" ${WRKSRC}/docs/jpilot.1 \
- > ${WRKSRC}/docs/jpilot.1.patched && \
- ${MV} ${WRKSRC}/docs/jpilot.1.patched ${WRKSRC}/docs/jpilot.1
+ for file in ${WRKSRC}/docs/jpilot.1; do \
+ ${SED} -e "s|@PREFIX@|${PREFIX}|g" \
+ $${file} > $${file}.fixed; \
+ ${MV} -f $${file}.fixed $${file}; \
+ done
post-install:
- ${INSTALL_DATA_DIR} ${INCDIR} ${HTMLDIR} ${PLUGINSDIR} \
- ${PREFIX}/share/doc/jpilot
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA_DIR} ${INCDIR}
+ ${INSTALL_DATA_DIR} ${HTMLDIR}
+ ${INSTALL_DATA_DIR} ${PLUGINSDIR}
cd ${WRKSRC}; ${INSTALL_DATA} libplugin.h prefs.h ${INCDIR}
- ${INSTALL_DATA} ${WRKSRC}/BUGS ${PREFIX}/share/doc/jpilot
+ ${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCDIR}
cd ${WRKSRC}/docs; ${INSTALL_DATA} *.html ${HTMLDIR}
cd ${WRKSRC}/docs; ${INSTALL_MAN} *.1 ${MAN1DIR}
${TOUCH} ${PLUGINSDIR}/.directory
-.include "../../comms/pilot-link-libs/buildlink.mk"
-.include "../../devel/gettext-lib/buildlink.mk"
-.include "../../x11/gtk/buildlink.mk"
-.include "../../mk/x11.buildlink.mk"
+.include "../../comms/pilot-link-libs/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"