summaryrefslogtreecommitdiff
path: root/www/dillo/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2002-11-26 15:07:31 +0000
committerjmmv <jmmv>2002-11-26 15:07:31 +0000
commit3c57b770f9c71c4fe9c8839b3f068c2bb35db845 (patch)
treec8caa0ae1b67da59d270ffd032f1db1950a7cbf4 /www/dillo/Makefile
parentc1067cdb048f8c3fccc2ac11dbf86d5ffe80ae9c (diff)
downloadpkgsrc-3c57b770f9c71c4fe9c8839b3f068c2bb35db845.tar.gz
Make this package install its configuration file in the examples directory
and use PKG_SYSCONFDIR stuff to copy it to the right place. Bump PKGREVISION to 1. Approved by wiz.
Diffstat (limited to 'www/dillo/Makefile')
-rw-r--r--www/dillo/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/dillo/Makefile b/www/dillo/Makefile
index 1e0e5568931..bb96f3720a4 100644
--- a/www/dillo/Makefile
+++ b/www/dillo/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2002/08/25 21:52:08 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2002/11/26 15:07:31 jmmv Exp $
#
DISTNAME= dillo-0.6.6
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://dillo.cipsga.org.br/download/
@@ -14,6 +15,11 @@ USE_X11= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+EGDIR= ${PREFIX}/share/examples/dillo
+CONF_FILES= ${EGDIR}/dillorc ${PKG_SYSCONFDIR}/dillorc
+
+CFLAGS+= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR}\\\"\"
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dillo
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/dillo
@@ -22,4 +28,5 @@ post-install:
.include "../../graphics/png/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"