Attempt to fix build issues.
Add SHEBANG_FILES=newsstar.in, bumping PORTREVISION.
This commit is contained in:
parent
d0fc26ef69
commit
5e1965dcff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332191
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= newsstar
|
||||
PORTVERSION= 1.5.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= news
|
||||
MASTER_SITES= SF
|
||||
|
||||
@ -16,7 +17,8 @@ BUILD_DEPENDS= xmlto:${PORTSDIR}/textproc/xmlto \
|
||||
${LOCALBASE}/share/xml/docbook/4.5/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= iconv perl5
|
||||
USES= iconv perl5 shebangfix
|
||||
SHEBANG_FILES= newsstar.in
|
||||
|
||||
OPTIONS_DEFINE= SSL
|
||||
OPTIONS_DEFAULT= SSL
|
||||
@ -59,7 +61,6 @@ CONFIGURE_ARGS+=--with-sn-spool-dir=/var/spool/news \
|
||||
CONFIGURE_ARGS+=--with-inn-path=${LOCALBASE}/news/bin
|
||||
.endif
|
||||
|
||||
MAN1= newsstar.1
|
||||
DOCS= AUTHORS INSTALL NEWS README TODO docs/QuickStart docs/manual.txt \
|
||||
docs/index.html docs/ar01s02.html docs/ar01s03.html docs/ar01s04.html \
|
||||
docs/ar01s05.html docs/ar01s06.html docs/ar01s07.html docs/ar01s08.html \
|
||||
@ -70,9 +71,9 @@ EX_CONFIGS= cf.server.sample curses.cf.sample filter.pl.sample main.cf.sample \
|
||||
master.ignore.sample master.score.sample newsrc.sample
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/sgml/docbook/dtd/xml|${LOCALBASE}/share/xml/docbook|' ${WRKSRC}/docs/manual.xml
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/sgml/docbook/dtd/xml|${LOCALBASE}/share/xml/docbook|' ${WRKSRC}/docs/news.xml
|
||||
@${REINPLACE_CMD} -e 's|install-data-local: install-docs|install-data-local:|' ${WRKSRC}/Makefile.in
|
||||
${REINPLACE_CMD} -e 's|/usr/share/sgml/docbook/dtd/xml|${LOCALBASE}/share/xml/docbook|' ${WRKSRC}/docs/manual.xml
|
||||
${REINPLACE_CMD} -e 's|/usr/share/sgml/docbook/dtd/xml|${LOCALBASE}/share/xml/docbook|' ${WRKSRC}/docs/news.xml
|
||||
${REINPLACE_CMD} -e 's|install-data-local: install-docs|install-data-local:|' ${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
|
@ -1,3 +1,6 @@
|
||||
@exec d=/var/spool/newsstar/incoming ; test -d "$d" || install -d -onews -gnews -m0750 "$d"
|
||||
@exec d=/var/spool/newsstar/lib ; test -d "$d" || install -d -onews -gnews -m0750 "$d"
|
||||
@exec d="%D/%%ETCDIR%%" ; test -d "$d" || install -d -o0 -g0 -m0755 "$d"
|
||||
bin/newsstar
|
||||
man/man1/newsstar.1.gz
|
||||
libexec/newsstar/newsstar.bin
|
||||
@ -31,10 +34,8 @@ libexec/newsstar/newsstar.bin
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm libexec/newsstar
|
||||
@dirrmtry lib/newsstar
|
||||
@unexec if [ -d /var/spool/newsstar ] ; then echo "==================================================" ; echo "If you are deinstalling newsstar for good" ; echo "remove the spool: type: rm -rf /var/spool/newsstar"; echo "==================================================" ; fi
|
||||
@dirrmtry %%ETCDIR%%
|
||||
@cwd /
|
||||
@dirrmtry /var/spool/newsstar/lib
|
||||
@dirrmtry /var/spool/newsstar/incoming
|
||||
@dirrmtry /var/spool/newsstar
|
||||
@unexec if [ -d /var/spool/newsstar ] ; then echo "==================================================" ; echo "If you are deinstalling newsstar for good" ; echo "remove the spool: type: rm -rf /var/spool/newsstar"; echo "==================================================" ; fi
|
||||
@unexec rmdir /var/spool/newsstar/lib >/dev/null 2>&1 || :
|
||||
@unexec rmdir /var/spool/newsstar/incoming >/dev/null 2>&1 || :
|
||||
@unexec rmdir /var/spool/newsstar >/dev/null 2>&1 || :
|
||||
|
Loading…
Reference in New Issue
Block a user