| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.39 2011/12/05 10:18:17 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.40 2012/05/20 06:24:54 marino Exp $ |
2 | | | 2 | |
3 | DISTNAME= htdig-3.2.0b6 | | 3 | DISTNAME= htdig-3.2.0b6 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= www databases | | 5 | CATEGORIES= www databases |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=htdig/} \ | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=htdig/} \ |
7 | http://www.htdig.org/files/ \ | | 7 | http://www.htdig.org/files/ \ |
8 | http://www.it.htdig.org/files/ | | 8 | http://www.it.htdig.org/files/ |
9 | EXTRACT_SUFX= .tar.bz2 | | 9 | EXTRACT_SUFX= .tar.bz2 |
10 | | | 10 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | HOMEPAGE= http://htdig.sourceforge.net/ | | 12 | HOMEPAGE= http://htdig.sourceforge.net/ |
13 | COMMENT= WWW indexing and searching system | | 13 | COMMENT= WWW indexing and searching system |
14 | | | 14 | |
| @@ -17,26 +17,27 @@ PKG_DESTDIR_SUPPORT= user-destdir | | | @@ -17,26 +17,27 @@ PKG_DESTDIR_SUPPORT= user-destdir |
17 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
18 | USE_LIBTOOL= yes | | 18 | USE_LIBTOOL= yes |
19 | GNU_CONFIGURE= yes | | 19 | GNU_CONFIGURE= yes |
20 | CONFIGURE_ARGS+= --with-cgi-bin-dir=${PREFIX}/libexec/cgi-bin | | 20 | CONFIGURE_ARGS+= --with-cgi-bin-dir=${PREFIX}/libexec/cgi-bin |
21 | CONFIGURE_ARGS+= --with-common-dir=${PREFIX}/share/htdig/common | | 21 | CONFIGURE_ARGS+= --with-common-dir=${PREFIX}/share/htdig/common |
22 | CONFIGURE_ARGS+= --with-config-dir=${PKG_SYSCONFDIR:Q} | | 22 | CONFIGURE_ARGS+= --with-config-dir=${PKG_SYSCONFDIR:Q} |
23 | CONFIGURE_ARGS+= --with-database-dir=${DBDIR:Q} | | 23 | CONFIGURE_ARGS+= --with-database-dir=${DBDIR:Q} |
24 | CONFIGURE_ARGS+= --with-image-dir=${PREFIX}/share/examples/htdig | | 24 | CONFIGURE_ARGS+= --with-image-dir=${PREFIX}/share/examples/htdig |
25 | CONFIGURE_ARGS+= --with-search-dir=${PREFIX}/share/examples/htdig | | 25 | CONFIGURE_ARGS+= --with-search-dir=${PREFIX}/share/examples/htdig |
26 | CONFIGURE_ENV+= PDF_PARSER="${LOCALBASE}/bin/acroread" | | 26 | CONFIGURE_ENV+= PDF_PARSER="${LOCALBASE}/bin/acroread" |
27 | CXXFLAGS+= -Wno-deprecated | | 27 | CXXFLAGS+= -Wno-deprecated |
28 | | | 28 | |
29 | PKG_SYSCONFSUBDIR= htdig | | 29 | PKG_SYSCONFSUBDIR= htdig |
| | | 30 | INSTALLATION_DIRS+= share/htdig/common |
30 | | | 31 | |
31 | DBDIR?= ${VARBASE}/db/htdig | | 32 | DBDIR?= ${VARBASE}/db/htdig |
32 | MESSAGE_SUBST+= DBDIR=${DBDIR} | | 33 | MESSAGE_SUBST+= DBDIR=${DBDIR} |
33 | OWN_DIRS+= ${DBDIR} | | 34 | OWN_DIRS+= ${DBDIR} |
34 | | | 35 | |
35 | CONF_FILES+= ${PREFIX}/share/examples/htdig/HtFileType-magic.mime \ | | 36 | CONF_FILES+= ${PREFIX}/share/examples/htdig/HtFileType-magic.mime \ |
36 | ${PKG_SYSCONFDIR}/HtFileType-magic.mime | | 37 | ${PKG_SYSCONFDIR}/HtFileType-magic.mime |
37 | CONF_FILES+= ${PREFIX}/share/examples/htdig/cookies.txt \ | | 38 | CONF_FILES+= ${PREFIX}/share/examples/htdig/cookies.txt \ |
38 | ${PKG_SYSCONFDIR}/cookies.txt | | 39 | ${PKG_SYSCONFDIR}/cookies.txt |
39 | CONF_FILES+= ${PREFIX}/share/examples/htdig/htdig.conf \ | | 40 | CONF_FILES+= ${PREFIX}/share/examples/htdig/htdig.conf \ |
40 | ${PKG_SYSCONFDIR}/htdig.conf | | 41 | ${PKG_SYSCONFDIR}/htdig.conf |
41 | CONF_FILES+= ${PREFIX}/share/examples/htdig/mime.types \ | | 42 | CONF_FILES+= ${PREFIX}/share/examples/htdig/mime.types \ |
42 | ${PKG_SYSCONFDIR}/mime.types | | 43 | ${PKG_SYSCONFDIR}/mime.types |