diff options
author | sahil <sahil@FreeBSD.org> | 2010-05-16 14:18:19 +0800 |
---|---|---|
committer | sahil <sahil@FreeBSD.org> | 2010-05-16 14:18:19 +0800 |
commit | 80f4f9488c87bf6a267f5bc287345776c3d4d945 (patch) | |
tree | d36c8e2a6021500f0e3fda00f3cc678728c1dcf6 /www | |
parent | 49d3abe59603a5d64dec2225148333a823352964 (diff) | |
download | freebsd-ports-gnome-80f4f9488c87bf6a267f5bc287345776c3d4d945.tar.gz freebsd-ports-gnome-80f4f9488c87bf6a267f5bc287345776c3d4d945.tar.zst freebsd-ports-gnome-80f4f9488c87bf6a267f5bc287345776c3d4d945.zip |
- Respect NOPORTDOCS
- Use %%DATADIR%% in pkg-plist
Reported by: QAT
Approved by: itetcu@ (mentor)
Diffstat (limited to 'www')
-rw-r--r-- | www/swish-e/Makefile | 17 | ||||
-rw-r--r-- | www/swish-e/pkg-plist | 20 |
2 files changed, 25 insertions, 12 deletions
diff --git a/www/swish-e/Makefile b/www/swish-e/Makefile index 7dbf4a8b14c5..803b28fe7d22 100644 --- a/www/swish-e/Makefile +++ b/www/swish-e/Makefile @@ -18,10 +18,23 @@ USE_LDCONFIG= yes USE_GNOME= libxml2 USE_GMAKE= yes GNU_CONFIGURE= yes -MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" +MAKE_ARGS+= pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ + pkgdatadir="${DATADIR}" +.if !defined(NOPORTDOCS) PORTDOCS= * +.endif -MAN1= SWISH-CONFIG.1 SWISH-FAQ.1 SWISH-LIBRARY.1 SWISH-RUN.1 swish-e.1 +MAN1= SWISH-CONFIG.1 SWISH-FAQ.1 SWISH-LIBRARY.1 SWISH-RUN.1 swish-e.1 + +.if defined(NOPORTDOCS) +post-patch: + @${REINPLACE_CMD} -E 's/^(install-data-am:) install-docDATA(.*)/\1\2/' \ + ${WRKSRC}/Makefile.in +.for p in pod prog-bin conf filter-bin filters html + @${REINPLACE_CMD} -E 's/^(install-data-am:).*DATA(.*)/\1\2/' \ + ${WRKSRC}/${p}/Makefile.in +.endfor +.endif .include <bsd.port.mk> diff --git a/www/swish-e/pkg-plist b/www/swish-e/pkg-plist index fef85ebe3008..002efd0aa3b3 100644 --- a/www/swish-e/pkg-plist +++ b/www/swish-e/pkg-plist @@ -36,13 +36,13 @@ lib/swish-e/swish.cgi lib/swish-e/swishspider libdata/pkgconfig/swish-e.pc @dirrm lib/swish-e -share/swish-e/swish.tmpl -share/swish-e/swish.tt -share/swish-e/templates/search.tt -share/swish-e/templates/page_layout -share/swish-e/templates/common_header -share/swish-e/templates/common_footer -share/swish-e/templates/style.css -share/swish-e/templates/markup.css -@dirrmtry share/swish-e/templates -@dirrmtry share/swish-e +%%DATADIR%%/swish.tmpl +%%DATADIR%%/swish.tt +%%DATADIR%%/templates/search.tt +%%DATADIR%%/templates/page_layout +%%DATADIR%%/templates/common_header +%%DATADIR%%/templates/common_footer +%%DATADIR%%/templates/style.css +%%DATADIR%%/templates/markup.css +@dirrm %%DATADIR%%/templates +@dirrm %%DATADIR%% |