diff options
Diffstat (limited to 'www/swish-e')
-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%% |