- Chase the update of INN;
- Stagify.
This commit is contained in:
parent
2c976bf6fd
commit
db9989e931
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335070
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= newsx
|
||||
PORTVERSION= 1.6
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= news
|
||||
MASTER_SITES= http://www.kvaleberg.org/pub/
|
||||
|
||||
@ -18,10 +18,6 @@ BUILD_DEPENDS= ${LOCALBASE}/news/lib/libcnews.a:${PORTSDIR}/news/cnews
|
||||
BUILD_DEPENDS= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn
|
||||
.endif
|
||||
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
IGNORE= a configured INN is required
|
||||
.endif
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFLICTS= leafnode-1.*
|
||||
@ -38,11 +34,8 @@ CONFIGURE_ARGS+= --without-history
|
||||
|
||||
DOCS= AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/configure
|
||||
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:g" ${WRKSRC}/configure
|
||||
@${ECHO} "*********************************************************"
|
||||
@${ECHO} "If the configure step fails, then you probably don't have"
|
||||
@${ECHO} "a news server package installed. Try installing INN from"
|
||||
@ -50,20 +43,19 @@ pre-configure:
|
||||
@${ECHO} "again."
|
||||
@${ECHO} "*********************************************************"
|
||||
|
||||
pre-install:
|
||||
@${STRIP_CMD} ${WRKSRC}/src/newsx
|
||||
post-build:
|
||||
.if !defined(WITH_DEBUG)
|
||||
${STRIP_CMD} ${WRKSRC}/src/newsx
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/news/spool/inhosts
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for FILE in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
@${ECHO} "Documentation installed in ${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
MAN1= newsq.1
|
||||
MAN5= newsx.conf.5 in.hosts.5
|
||||
MAN8= newsx.8
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- configure.orig Sun May 18 19:25:34 2003
|
||||
+++ configure Sun May 18 23:45:15 2003
|
||||
--- configure.orig 2003-05-18 19:25:34.000000000 +0200
|
||||
+++ configure 2013-11-27 17:22:07.000000000 +0100
|
||||
@@ -253,7 +253,7 @@
|
||||
#
|
||||
# Initializations.
|
||||
@ -29,3 +29,15 @@
|
||||
|
||||
|
||||
# Check whether --with-newshome or --without-newshome was given.
|
||||
@@ -1890,7 +1890,11 @@
|
||||
# it has been reported that some INN 2.1 had its own VERSION
|
||||
VERSION_save="$VERSION"
|
||||
VERSION=
|
||||
+ prefix_orig="${prefix}"
|
||||
+ exec_prefix_orig="${exec_prefix}"
|
||||
. $NEWSCONFIG
|
||||
+ prefix="${prefix_orig}"
|
||||
+ exec_prefix="${exec_prefix_orig}"
|
||||
INN_VERSION="$VERSION"
|
||||
VERSION="$VERSION_save"
|
||||
INN_NEWSUMASK=`umask`
|
||||
|
@ -1,5 +1,9 @@
|
||||
bin/newsx
|
||||
bin/newsq
|
||||
bin/newsx
|
||||
man/man1/newsq.1.gz
|
||||
man/man5/in.hosts.5.gz
|
||||
man/man5/newsx.conf.5.gz
|
||||
man/man8/newsx.8.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
@ -9,6 +13,6 @@ bin/newsq
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm news/spool/inhosts
|
||||
@dirrmtry news/spool/inhosts
|
||||
@dirrmtry news/spool
|
||||
@dirrmtry news
|
||||
|
Loading…
Reference in New Issue
Block a user