diff --git a/news/atp/Makefile b/news/atp/Makefile index f81aa0bb17af..1024a08025bd 100644 --- a/news/atp/Makefile +++ b/news/atp/Makefile @@ -1,26 +1,24 @@ -# Created by: Donald Burr - PORTNAME= atp PORTVERSION= 1.50 PORTREVISION= 2 CATEGORIES= news MASTER_SITES= SUNSITE/system/bbs/mail DISTFILES= ${DISTNAME}-src.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= QWK message packet reader and composer for FreeBSD RUN_DEPENDS= zip:archivers/zip USES= gmake perl5 USE_PERL5= run GNU_CONFIGURE= yes SUB_FILES= pkg-message post-patch: .for i in atphome bindir mandir ${REINPLACE_CMD} -e 's,$$($i),$$(DESTDIR)&,g' \ ${WRKSRC}/Makefile.in .endfor .include diff --git a/news/aub/Makefile b/news/aub/Makefile index b004a8543c35..986ab5e08a0d 100644 --- a/news/aub/Makefile +++ b/news/aub/Makefile @@ -1,35 +1,33 @@ -# Created by: David O'Brien (obrien@cs.ucdavis.edu) - PORTNAME= aub PORTVERSION= 2.2 PORTREVISION= 1 CATEGORIES= news MASTER_SITES= http://yukidoke.org/~mako/projects/aub/download/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Assemble usenet binaries USES= shebangfix SHEBANG_FILES= aub NO_BUILD= yes NO_ARCH= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= COPYING README aubconf.example PLIST_FILES= bin/aub man/man1/aub.1.sgml.gz man/man1/aubconf.1.sgml.gz OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/aub ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/aub*.1.sgml ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/news/cg/Makefile b/news/cg/Makefile index fa4373a4f205..9f15c15aa90d 100644 --- a/news/cg/Makefile +++ b/news/cg/Makefile @@ -1,19 +1,17 @@ -# Created by: bkhl@elektrubadur.se - PORTNAME= cg PORTVERSION= 0.4 CATEGORIES= news MASTER_SITES= http://www.nih.at/cg/ MAINTAINER= ports@FreeBSD.org COMMENT= Semi-automatic newsgroup binary downloader LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes PLIST_FILES= bin/cg \ man/man1/cg.1.gz .include diff --git a/news/cleanfeed/Makefile b/news/cleanfeed/Makefile index d2caf95842c0..1bacebb7898b 100644 --- a/news/cleanfeed/Makefile +++ b/news/cleanfeed/Makefile @@ -1,48 +1,46 @@ -# Created by: Yen-Ming Lee - PORTNAME= cleanfeed DISTVERSION= 20200402 CATEGORIES= news USE_GITHUB= yes GH_ACCOUNT= crooks GH_TAGNAME= dd177d4a3b6ea2e538da17bbb2a74772cea4a49a MAINTAINER= kbowling@FreeBSD.org COMMENT= Spam filter for Usenet news servers FLAVORS= inn inncurrent FLAVOR?= ${FLAVORS:[1]} inn_CONFLICTS_INSTALL= cleanfeed-current inn_RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:news/inn inncurrent_PKGNAMESUFFIX= -current inncurrent_CONFLICTS_INSTALL= cleanfeed inncurrent_RUN_DEPENDS= ${LOCALBASE}/news/bin/innd:news/inn-current NO_ARCH= yes NO_BUILD= yes USES= perl5 BINOWN= news BINGRP= news SHAREOWN= news SHAREGRP= news INSTALL+= -b PKGDEINSTALL= ${PKGINSTALL} post-patch: @${REINPLACE_CMD} -e "/debug_batch_directory/s:'.*':'/var/log/cleanfeed':" ${WRKSRC}/samples/cleanfeed.local do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/news/cleanfeed/etc .for f in bad_adult_paths bad_body bad_cancel_paths bad_from bad_groups \ bad_hosts bad_paths bad_subject bad_url @${INSTALL_DATA} ${WRKSRC}/samples/${f} ${STAGEDIR}${PREFIX}/news/cleanfeed/etc .endfor @${INSTALL_DATA} ${WRKSRC}/samples/cleanfeed.local \ ${STAGEDIR}${PREFIX}/news/cleanfeed/etc/cleanfeed.local.sample @${MKDIR} ${STAGEDIR}${PREFIX}/news/bin/filter @${INSTALL_DATA} ${WRKSRC}/cleanfeed ${STAGEDIR}${PREFIX}/news/bin/filter .include diff --git a/news/cnews/Makefile b/news/cnews/Makefile index 48bcb3bef0fd..7c94bd46ebca 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -1,161 +1,159 @@ -# Created by: adam - PORTNAME= cnews PORTVERSION= cr.g PORTREVISION= 18 CATEGORIES= news MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \ ftp://ftp.funet.fi/pub/unix/news/cnews/ \ ftp://ftp.redcom.ru/pub/unix/usenet/c-news/ \ ftp://ftp.dinoex.org/pub/c-news/ \ ftp://ftp.dinoex.org/pub/c-news/:pgp DISTNAME= c-news DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ pgpverify-1.29:pgp EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} PATCH_SITES= ftp://ftp.dinoex.org/pub/c-news/ PATCHFILES= c-news-patch-fileart.c c-news-patch-namelen \ c-news-patch-newsrun c-news-patch-sendbatches2 \ c-news-patch-ctl-pgp3 c-news-patch-ctl-more \ c-news-patch-ctl-regexp \ c-news-patch-doexpire c-news-patch-queuelen.tay \ c-news-patch-bunzip2 \ c-news-patch-ctl-underscore \ c-news-patch-y2k-2 \ c-news-patch-inews-path \ c-news-patch-gawk3 \ c-news-patch-ansi MAINTAINER= dinoex@FreeBSD.org COMMENT= News server LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYRIGHT MAKE_JOBS_UNSAFE= yes USES= tar:Z USE_CSTD= gnu89 CFLAGS+= -Wno-return-type CONFLICTS_INSTALL= s-news trn4 # bin/inews DIST_SUBDIR= ${DISTNAME} NO_WRKSUBDIR= yes MAKEFILE= makefile SUB_FILES= pkg-message LMAN1= checknews.1cn inews.1cn postnews.1cn readnews.1cn LMAN5= controlperm.5 news.5 newsctl.5 newsdb.5 newsoverview.5 \ newssys.5 LMAN8= cnewsdo.8cn expire.8cn explode.8cn mergeactive.8 \ mkhistory.8cn newsaux.8cn newsbatch.8cn newsmail.8cn \ newsmaint.8cn newsoverview.8 relaynews.8cn report.8cn \ rnews.8cn NO_EG_FILES= active.times inews organization postdefltgroup readnews.ctl \ readnews.help report.ctl versionname NEWSCTL_FILES= active active.times batchparms controlperm explist \ history history.dir history.pag inews mailname mailpaths \ organization postdefltgroup readnews.ctl readnews.help \ report.ctl sys versionname whoami SUB_LIST+= NEWSCTL=${NEWSCTL} PLIST_SUB+= VARBASE=${VARBASE} PLIST_SUB+= NEWSBIN=${NEWSBIN:S=^${PREFIX}/==} PLIST_SUB+= NEWSCTL=${NEWSCTL:S=^${VARBASE}/==} PLIST_SUB+= NEWSCTLBASE=${NEWSCTL:S=/news==:S=^${VARBASE}/==} PLIST_SUB+= NEWSARTS=${NEWSARTS:S=^${VARBASE}/==} PLIST_SUB+= NEWSOV=${NEWSOV:S=^${VARBASE}/==} PLIST_SUB+= NEWSCTL_FILES="${NEWSCTL_FILES}" OPTIONS_DEFINE= SENDMAIL EXAMPLES OPTIONS_DEFAULT=PGPGPG OPTIONS_SINGLE= VERIFY OPTIONS_SINGLE_VERIFY= PGPIN PGPGPG GPGPV SENDMAIL_DESC= use sendmail instead of /bin/mail PGPIN_DESC= use pgp-2.6.3in for control messages PGPGPG_DESC= use pgpgpg for control messages GPGPV_DESC= use gpgv from gnupg1 for control messages PGPIN_RUN_DEPENDS= pgpin:security/pgpin PGPGPG_RUN_DEPENDS= pgpgpg:security/pgpgpg GPGPV_RUN_DEPENDS= gpgv:security/gnupg1 VARBASE?= /var NEWSBIN?= ${PREFIX}/libexec/cnews NEWSCTL?= ${VARBASE}/lib/news NEWSARTS?= ${VARBASE}/news NEWSOV?= ${VARBASE}/news/over.view PGPVERIFY?= pgpverify-1.29 .include .if ${PORT_OPTIONS:MSENDMAIL} EXTRA_PATCHES+= ${FILESDIR}/sendmail.patch .endif pre-patch: ${SED} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' \ ${DISTDIR}/${DIST_SUBDIR}/${PGPVERIFY} \ > ${WRKSRC}/${PGPVERIFY} post-patch: @${REINPLACE_CMD} -e 's/getline/get_line/g' ${WRKSRC}/readnews/active.c \ ${WRKSRC}/readnews/newsrc.c pre-configure: .for i in conf/quiz.def conf/substitutions include/config.make ${REINPLACE_CMD} \ -e "s=/usr/local/news/lib/bin/config=${NEWSBIN}/config=" \ -e "s=/usr/local/news/cnewsbin=${NEWSBIN}=" \ -e "s=/usr/local/news/lib=${NEWSCTL}=" \ -e "s=/var/news/over.view=${NEWSOV}=" \ -e "s=/var/news=${NEWSARTS}=" \ -e "s=/usr/local/bin=${PREFIX}/bin=" \ ${WRKSRC}/${i} .endfor .if ${PORT_OPTIONS:MPGPIN} ${REINPLACE_CMD} -e "s|'/usr/local/bin/pgp'|'/usr/local/bin/pgpin'|" \ ${WRKSRC}/${PGPVERIFY} .endif .if ${PORT_OPTIONS:MPGPGPG} ${REINPLACE_CMD} -e "s|'/usr/local/bin/pgp'|'/usr/local/bin/pgpgpg'|" \ ${WRKSRC}/${PGPVERIFY} .endif .if ${PORT_OPTIONS:MGPGPV} ${REINPLACE_CMD} -e "s|^# $$gpgv|$$gpgv|" \ ${WRKSRC}/${PGPVERIFY} .endif do-install: ${INSTALL_DATA} ${WRKSRC}/libdbz/dbz.h ${STAGEDIR}${PREFIX}/include/ ${INSTALL_DATA} ${WRKSRC}/libcnews.a ${STAGEDIR}${PREFIX}/lib/ ${MKDIR} ${STAGEDIR}${NEWSARTS} ${STAGEDIR}${NEWSOV} \ ${STAGEDIR}${NEWSCTL} ${STAGEDIR}${NEWSBIN} ${INSTALL_SCRIPT} ${WRKSRC}/${PGPVERIFY} ${STAGEDIR}${NEWSBIN}/pgpverify ${INSTALL_SCRIPT} ${WRKSRC}/conf/config ${STAGEDIR}${NEWSBIN}/ cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} ${MAKE_FLAGS} ${MAKEFILE} install cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} ${MAKE_FLAGS} ${MAKEFILE} ui readpostcheck cd ${WRKSRC}/man && ${INSTALL_MAN} ${LMAN1} ${STAGEDIR}${PREFIX}/man/man1/ cd ${WRKSRC}/man && ${INSTALL_MAN} ${LMAN5} ${STAGEDIR}${PREFIX}/man/man5/ cd ${WRKSRC}/man && ${INSTALL_MAN} ${LMAN8} ${STAGEDIR}${PREFIX}/man/man8/ .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/newsctl cd ${WRKSRC} && ${INSTALL_DATA} ${NO_EG_FILES:S,^,*/,} \ ${STAGEDIR}${EXAMPLESDIR}/newsctl/ .for f in active batchparms controlperm explist mailname mailpaths sys whoami cd ${WRKSRC} && ${CP} -p */${f}.eg ${STAGEDIR}${EXAMPLESDIR}/newsctl/${f} .endfor ${TOUCH} ${STAGEDIR}${EXAMPLESDIR}/newsctl/history cd ${STAGEDIR}${EXAMPLESDIR}/newsctl && \ ${STAGEDIR}${NEWSBIN}/dbz history .endif .for d in control junk news/announce/newusers news/announce news \ in.coming/bad in.coming out.going out.master out.nntp ${MKDIR} ${STAGEDIR}${NEWSARTS}/${d} .endfor test: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} r) .include diff --git a/news/diablo/Makefile b/news/diablo/Makefile index 3f30fff043bb..8b4f2cccb623 100644 --- a/news/diablo/Makefile +++ b/news/diablo/Makefile @@ -1,63 +1,61 @@ -# Created by: James FitzGibbon - PORTNAME= diablo PORTVERSION= 5.1 PORTREVISION= 2 CATEGORIES= news MASTER_SITES= http://www.openusenet.org/diablo/download/ DISTNAME= ${PORTNAME}-${PORTVERSION}-REL MAINTAINER= ports@FreeBSD.org COMMENT= Comprehensive newsfeeding and newsreading software package LICENSE= BSD3CLAUSE BUILD_DEPENDS= xmake:devel/xmake PORTDOCS= COPYRIGHT INSTALL README.READER README.SERVER RELEASE_NOTES OPTIONS_DEFINE= DES DOCS DES_DESC= DES encryption support USES= tar:tgz # Fix build with clang11 CFLAGS+= -fcommon post-patch: @${CP} ${FILESDIR}/diablo.in ${WRKDIR}/diablo @${REINPLACE_CMD} -E 's|%%PREFIX%%|${STAGEDIR}${PREFIX}|g ;\ s|-g -O.?|${CFLAGS}| ; s|g?cc|${CC}|' \ ${WRKSRC}/XMakefile.inc @${REINPLACE_CMD} -E 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKDIR}/diablo ${WRKSRC}/XMakefile.inst # Fix for GCC 4.2 @${REINPLACE_CMD} -e 's|VServerConfig\[\]|*VServerConfig|' \ ${WRKSRC}/dreaderd/main.c post-patch-DES-off: @${REINPLACE_CMD} -e 's| -ldes||g' ${WRKSRC}/XMakefile.inc do-build: (cd ${WRKSRC} && xmake all) do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/news/dbin ${MKDIR} ${STAGEDIR}${PREFIX}/news/dqueue ${MKDIR} ${STAGEDIR}${PREFIX}/news/spool ${MKDIR} ${STAGEDIR}${PREFIX}/news/spool/news ${MKDIR} ${STAGEDIR}${PREFIX}/news/spool/cache ${MKDIR} ${STAGEDIR}${PREFIX}/news/spool/group ${MKDIR} ${STAGEDIR}${PREFIX}/news/spool/postq (cd ${WRKSRC} && xmake install) @${RM} -r ${STAGEDIR}${PREFIX}/news/man @${STRIP_CMD} ${STAGEDIR}${PREFIX}/news/dbin/* ${INSTALL_SCRIPT} ${WRKDIR}/diablo ${STAGEDIR}${PREFIX}/etc/rc.d do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/news/golded+/Makefile b/news/golded+/Makefile index b912603cd2a1..650e765ac874 100644 --- a/news/golded+/Makefile +++ b/news/golded+/Makefile @@ -1,60 +1,58 @@ -# Created by: Max Khon - PORTNAME= golded+ PORTVERSION= 1.1.5.a${SNAPDATE} CATEGORIES= news mail MASTER_SITES= SF/golded-plus/Golded%2B%201.1.5%20snapshots/${_SNAPDATE} DISTNAME= gpsrc-115-${SNAPDATE} MAINTAINER= ports@FreeBSD.org COMMENT= GoldEd+ (FTN message editor) LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi USES= gmake ncurses tar:tgz _SNAPDATE= 2017.03.03 SNAPDATE= ${_SNAPDATE:S/.//g} WRKSRC= ${WRKDIR}/golded-plus/${PORTNAME} DOCS= copying copying.lib license.txt notework.txt rusfaq.txt\ tips.txt notework.rus PORTDOCS= ${DOCS} gold_ref.txt gold_usr.txt SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES DOCS_SUB_LIST= NOTEWORK="Please read the ${DOCSDIR}/notework.txt before using ${PORTNAME}" DOCS_SUB_LIST_OFF= NOTEWORK="" post-patch: @${SED}\ -e 's,^\(#define __GVER_VENDOR_NAME__\).*,\1 "",'\ -e 's,\(#define __GVER_VENDOR_FIDO__\).*,\1 "",'\ -e 's,\(#define __GVER_VENDOR_EMAIL__\).*,\1 "${MAINTAINER}",'\ -e 's,\(#define __GVER_RELEASENAME__\).*,\1 "Golded+ FreeBSD port",'\ -e 's,\(#define __GVER_POSTVERSION__\).*,\1 "-b${SNAPDATE}",'\ <${WRKSRC}/golded3/mygolded.__h >${WRKSRC}/golded3/mygolded.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/gedlnx ${STAGEDIR}${PREFIX}/bin/golded ${INSTALL_PROGRAM} ${WRKSRC}/bin/gnlnx ${STAGEDIR}${PREFIX}/bin/goldnode ${INSTALL_PROGRAM} ${WRKSRC}/bin/rddtlnx ${STAGEDIR}${PREFIX}/bin/rddt ${INSTALL_MAN} ${WRKSRC}/docs/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in charset colorset config template ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/$i; ${FIND} ${WRKSRC}/cfgs/$i -maxdepth 1 -type f |\ ${XARGS} -n 1 -J @ ${INSTALL_DATA} @ ${STAGEDIR}${EXAMPLESDIR}/$i .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manuals/gold_ref.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/manuals/gold_usr.txt ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/docs/$i ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/news/gup/Makefile b/news/gup/Makefile index 1bae15f0398e..f45bb4d3cd81 100644 --- a/news/gup/Makefile +++ b/news/gup/Makefile @@ -1,22 +1,20 @@ -# Created by: Denis Shaposhnikov - PORTNAME= gup PORTVERSION= 0.4 CATEGORIES= news MASTER_SITES= ftp://ftp.isc.org/isc/inn/unoff-contrib/ MAINTAINER= ports@FreeBSD.org COMMENT= Allows remote sites to change their newsgroup subscriptions WRKSRC= ${WRKDIR}/gup PLIST_FILES= libexec/gup man/man1/gup.1.gz do-configure: @${CP} ${FILESDIR}/freebsd ${WRKSRC}/config do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gup ${STAGEDIR}${PREFIX}/libexec ${INSTALL_MAN} ${WRKSRC}/gup.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/news/inn-current/Makefile b/news/inn-current/Makefile index 3128b01425c6..105cc2919b2f 100644 --- a/news/inn-current/Makefile +++ b/news/inn-current/Makefile @@ -1,25 +1,23 @@ -# Created by: kbowling - PORTNAME= inn-current PORTVERSION= ${SNAPSHOT} MASTER_SITE_SUBDIR= inn/snapshots DISTNAME= inn-${BRANCH}-${SNAPSHOT} BRANCH= 2.7 SNAPSHOT= 20220627 CONFLICTS= inn-2.[0-9]* DISTINFO_FILE= ${.CURDIR}/distinfo FILESDIR= ${.CURDIR}/../inn/files PATCHDIR= ${.CURDIR}/../inn/files PLIST= ${.CURDIR}/pkg-plist WRKSRC= ${WRKDIR}/${DISTNAME} CPE_PRODUCT= inn INNLIB_LONG= 8.0.0 LIBVER_LONG= 3.0.6 LIBSTORAGEVER_LONG= 3.1.0 .include "${.CURDIR}/../inn/Makefile" diff --git a/news/inn/Makefile b/news/inn/Makefile index 754f0e045046..eceff0609dcd 100644 --- a/news/inn/Makefile +++ b/news/inn/Makefile @@ -1,255 +1,253 @@ -# Created by: torstenb - PORTNAME?= inn PORTVERSION?= 2.6.5 PORTREVISION?= 0 CATEGORIES= news MASTER_SITES= ISC MASTER_SITE_SUBDIR?= ${PORTNAME} MAINTAINER= kbowling@FreeBSD.org COMMENT= InterNetNews -- the Internet meets Netnews BUILD_DEPENDS= p5-GD>=0:graphics/p5-GD \ p5-MIME-Tools>=0:mail/p5-MIME-Tools RUN_DEPENDS:= ${BUILD_DEPENDS} USE_RC_SUBR= innd SUB_FILES= pkg-install USES= cpe gmake libtool perl5 uidfix CPE_VENDOR= isc CONFLICTS?= inn-current OPTIONS_DEFINE= BERKELEYDB GNUPG KERBEROS PYTHON SASL KEYWORDS \ LARGE_FILES OPENSSL SETGID_INEWS TAGGED_HASH \ UUCP_RNEWS DOCS EXAMPLES OPTIONS_DEFAULT= BERKELEYDB GNUPG KEYWORDS OPENSSL LARGE_FILES \ SETGID_INEW UUCP_RNEWS OPTIONS_SUB= yes KERBEROS_DESC= Enable Kerberos v5 (for auth_krb5) PYTHON_DESC= Enable support for embedded Python SASL_DESC= Enable SASL (for imapfeed authentication) TAGGED_HASH_DESC= Use tagged hash table for history LARGE_FILES_DESC= Support for files larger than 2GB KEYWORDS_DESC= Automatic keyword generation support BERKELEYDB_DESC= Enable BerkeleyDB (for ovdb overview method) OPENSSL_DESC= Enable OpenSSL (for NNTP over TLS/SSL support) GNUPG_DESC= GnuPG support (for pgpverify control message) UUCP_RNEWS_DESC= Install rnews suitable for use with net/freebsd-uucp SETGID_INEWS_DESC= Enable posting articles locally for all users .if ${BRANCH:U} == 2.7 OPTIONS_DEFINE+= BLACKLISTD SQLITE OPTIONS_DEFAULT+= BLACKLISTD SQLITE BLACKLISTD_DESC= Enable blacklistd support BLACKLISTD_CONFIGURE_WITH= blacklist SQLITE_DESC= Enable SQLite (for ovsqlite overview method) PLIST_SUB+= SNAPSHOT="" .else PLIST_SUB+= SNAPSHOT="@comment " .endif VARBASE?= /var .include "Makefile.layout" HAS_CONFIGURE= yes CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} CONFIGURE_ENV+= ac_cv_prog_AWK="${AWK}" CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \ --prefix=${INN_NEWSBASE} \ --with-spool-dir=${INN_NEWSSPOOL} \ --with-log-dir=${INN_LOGDIR} \ --with-tmp-dir=${INN_TMPDIR} \ --sysconfdir=${INN_CONFDIR} \ --with-run-dir=${INN_RUNDIR} \ --with-db-dir=${INN_DBDIR} \ --datarootdir=${INN_SHAREDIR} \ --with-perl UUCP_RNEWS_RUN_DEPENDS= uucp:net/freebsd-uucp INNLIB_LONG?= 6.1.0 LIBVER_LONG?= 3.0.5 LIBSTORAGEVER_LONG?= 3.0.5 PLIST_SUB+= LIBVER=${LIBVER_LONG:R:R} LIBVER_LONG=${LIBVER_LONG} \ INNLIB=${INNLIB_LONG:R:R} INNLIB_LONG=${INNLIB_LONG} \ LIBSTORAGEVER=${LIBSTORAGEVER_LONG:R:R} LIBSTORAGEVER_LONG=${LIBSTORAGEVER_LONG} .include .if ${PORT_OPTIONS:MSQLITE} USES+= sqlite CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} PLIST_SUB+= SQLITE="" TO_BE_STRIPPED+= bin/ovsqlite-server CONFIG_FILES+= ovsqlite.conf .else . if ${BRANCH:U} == 2.7 CONFIGURE_ARGS+= --without-sqlite3 . endif PLIST_SUB+= SQLITE="@comment " .endif .if ${PORT_OPTIONS:MBERKELEYDB} USES+= bdb CONFIGURE_ARGS+= --with-bdb=${LOCALBASE} \ --with-bdb-lib=${LOCALBASE}/lib \ --with-bdb-include=${BDB_INCLUDE_DIR} .endif .if ${PORT_OPTIONS:MKERBEROS} . if exists(${LOCALBASE}/bin/krb5-config) LIB_DEPENDS+= libgssapi_krb5.so:security/krb5 CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} . else CONFIGURE_ARGS+= --with-krb5=/usr . endif CONFIGURE_ENV+= ac_cv_search_krb5_parse_name="-lcrypt -lcrypto -lkrb5 -lasn1 -lroken -lhx509" CONFIGURE_ENV+= ac_cv_func_krb5_init_ets=yes .else CONFIGURE_ARGS+= --without-krb5 .endif .if ${PORT_OPTIONS:MKEYWORDS} CONFIGURE_ARGS+= --enable-keywords .endif .if ${PORT_OPTIONS:MLARGE_FILES} CONFIGURE_ARGS+= --enable-largefiles . if ${PORT_OPTIONS:MTAGGED_HASH} IGNORE= cannot be compiled with both LARGE_FILES and TAGGED_HASH: please re-run make config . endif .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python CONFIGURE_ARGS+= --with-python .endif .if ${PORT_OPTIONS:MSASL} CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 .endif .if ${PORT_OPTIONS:MTAGGED_HASH} CONFIGURE_ARGS+= --enable-tagged-hash DBZ_FILES= dir pag PLIST_SUB+= WITH_TAGGED_HASH="" PLIST_SUB+= WITHOUT_TAGGED_HASH="@comment " .else DBZ_FILES= dir hash index PLIST_SUB+= WITH_TAGGED_HASH="@comment " PLIST_SUB+= WITHOUT_TAGGED_HASH="" .endif SUB_LIST+= DBZ_FILES="${DBZ_FILES}" .if ${PORT_OPTIONS:MOPENSSL} USES+= ssl CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} .endif .if ${PORT_OPTIONS:MGNUPG} # Although pgpverify needs gpgv/gpgv2, # checking 'gpg' is the shortest way to check any version of GnuPG installed. BUILD_DEPENDS+= gpg:security/gnupg RUN_DEPENDS+= gpg:security/gnupg .endif .if ${PORT_OPTIONS:MSETGID_INEWS} PLIST_SUB+= MODE_INEWS="2555" .else PLIST_SUB+= MODE_INEWS="" .endif PORTDOCS= CONTRIBUTORS HACKING INSTALL LICENSE MANIFEST NEWS README TODO TO_BE_STRIPPED+= bin/actsync bin/archive bin/auth/passwd/auth_krb5 \ bin/auth/passwd/ckpasswd bin/auth/passwd/radius bin/auth/resolv/domain \ bin/auth/resolv/ident bin/batcher bin/buffchan bin/buffindexed_d \ bin/convdate bin/ctlinnd bin/cvtbatch bin/expire bin/expireover \ bin/fastrm bin/filechan bin/getlist bin/grephistory bin/imapfeed \ bin/inews bin/innbind bin/innconfval bin/innd bin/inndf bin/innfeed \ bin/innxbatch bin/innxmit bin/makedbz bin/makehistory bin/ninpaths \ bin/nnrpd bin/nntpget bin/ovdb_init bin/ovdb_monitor bin/ovdb_server \ bin/ovdb_stat bin/overchan bin/prunehistory bin/rnews \ bin/rnews.libexec/decode bin/rnews.libexec/encode bin/shlock \ bin/shrinkfile bin/sm bin/tdx-util bin/tinyleaf \ lib/libinn.so.${INNLIB_LONG} lib/libinnhist.so.${LIBVER_LONG} \ lib/libstorage.so.${LIBSTORAGEVER_LONG} CONFIG_FILES+= actsync.cfg actsync.ign buffindexed.conf control.ctl \ control.ctl.local cycbuff.conf distrib.pats distributions expire.ctl \ localgroups incoming.conf inn.conf innfeed.conf innreport.conf \ innshellvars.local innshellvars.pl.local innshellvars.tcl.local \ innwatch.ctl moderators news2mail.cf newsfeeds nocem.ctl nnrpd.track \ nntpsend.ctl ovdb.conf passwd.nntp readers.conf send-uucp.cf \ storage.conf subscriptions SUB_LIST+= EGDIR="${EXAMPLESDIR:C,^${PREFIX},\\$\\${PREFIX},}" PLIST_SUB+= ETCFILES="${CONFIG_FILES}" .include .if !defined(GID) GID!= id -g .endif post-patch: @${REINPLACE_CMD} -E 's!\$$[{(]PATHETC[})]!${EXAMPLESDIR}!g' \ ${WRKSRC}/site/Makefile @${REINPLACE_CMD} -e 's!et/com_err\.h!com_err.h!g' \ -e 's!-lk5crypto!!g' \ ${WRKSRC}/configure ${WRKSRC}/authprogs/auth_krb5.c @${REINPLACE_CMD} -e '/^#pragma/d' ${WRKSRC}/*/*.c .if ${PORT_OPTIONS:MBERKELEYDB} @${REINPLACE_CMD} -e 's!-ldb!-ldb-${BDB_VER}!' ${WRKSRC}/configure .endif @${ECHO_CMD} '/^$$D$$(PATH_HISTORY)' > ${WRKDIR}/ex.script @${ECHO_CMD} '+' >> ${WRKDIR}/ex.script @${ECHO_CMD} 'mark t' >> ${WRKDIR}/ex.script @${ECHO_CMD} '/^$$' >> ${WRKDIR}/ex.script @${ECHO_CMD} "'t, d" >> ${WRKDIR}/ex.script @${ECHO_CMD} 'wq!' >> ${WRKDIR}/ex.script @cd ${WRKDIR} && ex ${WRKSRC}/site/Makefile < ex.script > /dev/null pre-install: # @${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL @${MKDIR} ${STAGEDIR}${INN_DBDIR} \ ${STAGEDIR}${EXAMPLESDIR} \ ${STAGEDIR}${EXAMPLESDIR}/db @${REINPLACE_CMD} -e '/^RUNASUSER *=/s/news/${UID}/' \ -e '/^RUNASGROUP *=/s/news/${GID}/' \ -e '/^RNEWSGROUP *=/s/news/${GID}/' \ ${WRKSRC}/Makefile.global post-build: @${FIND} ${WRKSRC} -name "inn.conf" \ | ${XARGS} ${REINPLACE_CMD} -e 's/^pathhost:.*/pathhost: host.example.com/' post-install: .for FILE in ${TO_BE_STRIPPED} -${TEST} -f ${STAGEDIR}${INN_NEWSBASE}/${FILE} && \ ${STRIP_CMD} ${STAGEDIR}${INN_NEWSBASE}/${FILE} .endfor ${MKDIR} ${STAGEDIR}${INN_NEWSSPOOL} ${MKDIR} ${STAGEDIR}${INN_CONFDIR} .for FILE in ${CONFIG_FILES} ${CP} -p ${STAGEDIR}${EXAMPLESDIR}/${FILE} ${STAGEDIR}${INN_CONFDIR}/${FILE}.sample .endfor ${MKDIR} ${STAGEDIR}${INN_DBDIR} .for FILE in active active.times newsgroups ${MV} ${STAGEDIR}${INN_DBDIR}/${FILE} \ ${STAGEDIR}${INN_DBDIR}/${FILE}.sample .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/news/knews/Makefile b/news/knews/Makefile index a887ade1cc18..dd6266d6ab82 100644 --- a/news/knews/Makefile +++ b/news/knews/Makefile @@ -1,27 +1,25 @@ -# Created by: Andreas Klemm - PORTNAME= knews PORTVERSION= 1.0b.1 PORTREVISION= 13 CATEGORIES= news MASTER_SITES= LOCAL/dinoex MAINTAINER= dinoex@FreeBSD.org COMMENT= Threaded NNTP newsreader for X11 LIB_DEPENDS= libpng.so:graphics/png \ libcompface.so:mail/faces RUN_DEPENDS= newsp:print/mp-letter LICENSE= GPLv2 USES= imake jpeg xorg USE_XORG= xmu xpm xt sm ice xext x11 MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 CC="${CC}" \ XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f .if defined(MAKE_JOBS) MAKE_ARGS+= -j${MAKE_JOBS} .endif .include diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile index bed2b3428c2a..638bdb6b33b6 100644 --- a/news/leafnode/Makefile +++ b/news/leafnode/Makefile @@ -1,82 +1,80 @@ -# Created by: Brian Somers - PORTNAME= leafnode DISTVERSION= 1.12.0 CATEGORIES= news MASTER_SITES= SF \ LOCAL/mandree/ MAINTAINER= mandree@FreeBSD.org COMMENT= NNTP package for offline news caching and reading LICENSE= GPLv2+ LIB_DEPENDS= libpcre2-8.so:devel/pcre2 USES= cpe tar:xz GNU_CONFIGURE= yes CONFLICTS= newsx-1* s-news-0* OPTIONS_DEFINE= DOCS .include # TODO: remove this auto-selection, and tell users through UPDATING to # move their spool to /var/spool/leafnode, and run texpire -r .if exists(/var/spool/news/leaf.node) && !defined(PACKAGE_BUILDING) LEAFNODE_SPOOLDIR?= /var/spool/news .elif exists(${LOCALBASE}/var/spool/leafnode/leaf.node) && !defined(PACKAGE_BUILDING) LEAFNODE_SPOOLDIR?= ${LOCALBASE}/var/spool/leafnode .endif LEAFNODE_SPOOLDIR?= /var/spool/leafnode PLIST_SUB+= REALPREFIX=${PREFIX} \ SPOOLDIR=${LEAFNODE_SPOOLDIR} CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ --sysconfdir=${PREFIX}/etc/leafnode \ --with-ipv6 \ --with-spooldir=${LEAFNODE_SPOOLDIR} SUB_FILES= pkg-deinstall pkg-install pkg-message SUB_LIST= SPOOLDIR=${LEAFNODE_SPOOLDIR} TEST_TARGET= check MAN1_DE= leafnode-version.1 newsq.1 MAN8_DE= applyfilter.8 checkgroups.8 fetchnews.8 leafnode.8 texpire.8 MANLANG= "" de.ISO8859-1 MAN1DIR_DE= ${MAN1PREFIX}/man/de.ISO8859-1/man1 MAN8DIR_DE= ${MAN8PREFIX}/man/de.ISO8859-1/man8 DOCS= ADD-ONS ChangeLog COPYING CREDITS FAQ.txt FAQ.pdf FAQ.html \ INSTALL NEWS README ChangeLog.old README-FQDN README-FQDN.html \ leafnode.cron.daily leafnode-SA-2002-01.txt \ leafnode-SA-2003-01.txt leafnode-SA-2004-01.txt \ leafnode-SA-2005-01.txt leafnode-SA-2005-02.txt KNOWNBUGS DOCS_DE= INSTALL_de README README_de .if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif pre-configure: @${ECHO_MSG} @${ECHO_MSG} "------------------------------------------------------------------------" @${ECHO_MSG} "This port will use ${LEAFNODE_SPOOLDIR} as spool directory." @${ECHO_MSG} "Use LEAFNODE_SPOOLDIR=d to specify d as spool directory." @${ECHO_MSG} "------------------------------------------------------------------------" @${ECHO_MSG} post-install: ${INSTALL_SCRIPT} ${WRKSRC}/UNINSTALL-daemontools ${STAGEDIR}${PREFIX}/etc/leafnode/ .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}/german cd ${WRKSRC}/doc_german && ${INSTALL_DATA} ${DOCS_DE} ${STAGEDIR}${DOCSDIR}/german .endif ${MKDIR} ${STAGEDIR}${MAN1DIR_DE} ${STAGEDIR}${MAN8DIR_DE} cd ${WRKSRC}/doc_german && \ ${INSTALL_MAN} ${MAN1_DE} ${STAGEDIR}${MAN1PREFIX}/man/de.ISO8859-1/man1 && \ ${INSTALL_MAN} ${MAN8_DE} ${STAGEDIR}${MAN8PREFIX}/man/de.ISO8859-1/man8 .include diff --git a/news/mail2nntp/Makefile b/news/mail2nntp/Makefile index 856c4cf5bb76..e7b64cf101fd 100644 --- a/news/mail2nntp/Makefile +++ b/news/mail2nntp/Makefile @@ -1,31 +1,29 @@ -# Created by: gary@hayers.org - PORTNAME= mail2nntp PORTVERSION= 1.0 CATEGORIES= news mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Stable%201.0/ MAINTAINER= gary@hayers.org COMMENT= Simple mail to news gateway LICENSE= GPLv2 RUN_DEPENDS= p5-NNTPClient>=0:news/p5-NNTPClient USES= perl5 shebangfix USE_PERL5= run NO_BUILD= yes SHEBANG_FILES= mail2nntp.pl PORTDOCS= * PLIST_FILES= bin/mail2nntp.pl OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/mail2nntp.pl ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Changelog ${STAGEDIR}${DOCSDIR} .include diff --git a/news/mmail/Makefile b/news/mmail/Makefile index 65b926ccac22..37b8f785be10 100644 --- a/news/mmail/Makefile +++ b/news/mmail/Makefile @@ -1,23 +1,21 @@ -# Created by: Frederic Cambus - PORTNAME= mmail DISTVERSION= 0.52 CATEGORIES= news MASTER_SITES= SF/multimail/MultiMail/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Offline BBS mail packet reader supporting QWK/OMEN/SOUP/OPX/BLUEWAVE RUN_DEPENDS= zip:archivers/zip USES= gmake ncurses MAKE_ARGS= OPTS="" LIBS="${LDFLAGS} -lncurses" PLIST_FILES= bin/mmail \ man/man1/mmail.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mm ${STAGEDIR}${PREFIX}/bin/mmail ${INSTALL_MAN} ${WRKSRC}/mm.1 ${STAGEDIR}${MANPREFIX}/man/man1/mmail.1 .include diff --git a/news/multisuck/Makefile b/news/multisuck/Makefile index 7c129bd11dfe..8fa35887e3d5 100644 --- a/news/multisuck/Makefile +++ b/news/multisuck/Makefile @@ -1,23 +1,21 @@ -# Created by: ijliao - PORTNAME= multisuck PORTVERSION= 1.0.4 CATEGORIES= news MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Multi-server/conn news suck LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes OPTIONS_DEFINE= EXAMPLES do-install: ${INSTALL_PROGRAM} ${WRKSRC}/msuck ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/samples/*.sample ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/news/newsfetch/Makefile b/news/newsfetch/Makefile index a325c4a971ff..0c867826a1ef 100644 --- a/news/newsfetch/Makefile +++ b/news/newsfetch/Makefile @@ -1,27 +1,25 @@ -# Created by: Jun-ichiro itojun Itoh - PORTNAME= newsfetch PORTVERSION= 1.21 PORTREVISION= 2 CATEGORIES= news MASTER_SITES= SUNSITE/system/news/readers MAINTAINER= ports@FreeBSD.org COMMENT= Download news articles from NNTP server MAKE_ENV= BINDIR="${PREFIX}/bin" MANDIR="${PREFIX}/man/man" USES= dos2unix uidfix DOS2UNIX_GLOB= *.c CFLAGS+= -Wno-return-type PLIST_FILES= bin/newsfetch \ man/man1/newsfetch.1.gz do-configure: (cd ${WRKSRC} && ( \ ${ECHO_CMD} "PROG= newsfetch"; \ ${ECHO_CMD} "SRCS=" *.c; \ ${ECHO_CMD} ".include "; \ ) > Makefile) .include diff --git a/news/newsfish/Makefile b/news/newsfish/Makefile index f8b3250ea787..046adcc0586f 100644 --- a/news/newsfish/Makefile +++ b/news/newsfish/Makefile @@ -1,17 +1,15 @@ -# Created by: asaddi@philosophysw.com - PORTNAME= newsfish PORTVERSION= 1.2.6 CATEGORIES= news MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Batch USENET news reader with filter capabilities USES= gmake GNU_CONFIGURE= yes PLIST_FILES= bin/newsfish \ man/man1/newsfish.1.gz .include diff --git a/news/newsgrab/Makefile b/news/newsgrab/Makefile index b668eb188473..48e56f3b6a04 100644 --- a/news/newsgrab/Makefile +++ b/news/newsgrab/Makefile @@ -1,29 +1,27 @@ -# Created by: Pete Fritchman - PORTNAME= newsgrab PORTVERSION= 0.4.0 PORTREVISION= 1 CATEGORIES= news MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Download and uudecode binary files from USENET using regexps RUN_DEPENDS= p5-NNTPClient>=0:news/p5-NNTPClient \ p5-Term-ReadKey>=0:devel/p5-Term-ReadKey \ p5-News-Newsrc>=0:news/p5-News-Newsrc \ p5-Time-modules>=0:devel/p5-Time-modules NO_BUILD= yes USES= perl5 shebangfix tar:tgz SHEBANG_FILES= newsgrab.pl OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${STAGEDIR}${PREFIX}/bin/newsgrab @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/newsgrab ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/newsgrab ${INSTALL_DATA} ${WRKSRC}/newsgrabrc ${STAGEDIR}${PREFIX}/share/doc/newsgrab .include diff --git a/news/newspost/Makefile b/news/newspost/Makefile index f35da86bbcab..d4fbee6079b5 100644 --- a/news/newspost/Makefile +++ b/news/newspost/Makefile @@ -1,34 +1,32 @@ -# Created by: Michael L. Hostbaek - PORTNAME= newspost PORTVERSION= 2.1.1 PORTREVISION= 1 CATEGORIES= news MASTER_SITES= http://newspost.unixcab.org/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Full-featured Usenet binary autoposter LICENSE= GPLv2 ALL_TARGET= main MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" PORTDOCS= README PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz OPTIONS_DEFINE= DOCS # Change "cd foo; $(MAKE)" into "$(MAKE) -C foo" to unbreak parallel builds post-patch: @${REINPLACE_CMD} -E 's|cd(.+) ; (\$$\(MAKE\))|\2 -C\1|' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/man1/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/news/newsstar/Makefile b/news/newsstar/Makefile index 6bb148715bdf..7b8617d84181 100644 --- a/news/newsstar/Makefile +++ b/news/newsstar/Makefile @@ -1,93 +1,91 @@ -# Created by: Andrey Slusar - PORTNAME= newsstar PORTVERSION= 1.5.6 PORTREVISION= 3 CATEGORIES= news MASTER_SITES= SF MAINTAINER= mandree@FreeBSD.org COMMENT= Transfer news between a local NNTP server (INN, sn, s-news) LICENSE= GPLv3 LIB_DEPENDS= libgdbm.so:databases/gdbm BUILD_DEPENDS= xmlto:textproc/xmlto \ ${LOCALBASE}/share/xml/docbook/4.5/docbookx.dtd:textproc/docbook-xml GNU_CONFIGURE= yes USES= iconv perl5 shebangfix SHEBANG_FILES= newsstar.in OPTIONS_DEFINE= SSL DOCS EXAMPLES OPTIONS_DEFAULT= SSL CONFIGURE_ARGS+=--disable-chown \ --with-conf-dir=${PREFIX}/etc/newsstar \ --with-rc-dir=/var/spool/newsstar/lib \ --with-incoming-dir=/var/spool/newsstar/incoming CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} .include .if ! ${PORT_OPTIONS:MDOCS} INSTALL_TARGET= install-am .endif .if ${PORT_OPTIONS:MSSL} USES+= ssl .else CONFIGURE_ARGS+=--disable-ssl .endif .include .if exists(/var/spool/s-news) CONFIGURE_ARGS+=--with-spool-dir=/var/spool/s-news \ --with-snews-outgoing-dir=${LOCALBASE}/etc/s-news/suck .endif .if exists(${LOCALBASE}/sbin/snntpd) CONFIGURE_ARGS+=--with-sn-spool-dir=/var/spool/news \ --with-sn-articles-dir=/var/spool/news \ --with-outgoing-dir=/var/spool/news/.outgoing .endif .if exists(${LOCALBASE}/news/bin/innconfval) CONFIGURE_ARGS+=--with-inn-path=${LOCALBASE}/news/bin .endif 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 \ docs/ar01s09.html docs/ar01s10.html docs/ar01s11.html docs/ar01s12.html \ docs/news.html 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 post-install: ${MAKE} -C ${WRKSRC}/src install DESTDIR=${STAGEDIR} ${MAKE} -C ${WRKSRC}/docs install-man DESTDIR=${STAGEDIR} ${MKDIR} ${STAGEDIR}/var/spool/newsstar post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for i in ${EX_CONFIGS} ${INSTALL_DATA} ${WRKSRC}/sample_config/${i} ${STAGEDIR}${EXAMPLESDIR} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/news/newsx/Makefile b/news/newsx/Makefile index a92404aade97..a84eb4e3643c 100644 --- a/news/newsx/Makefile +++ b/news/newsx/Makefile @@ -1,63 +1,61 @@ -# Created by: Thierry Thomas - PORTNAME= newsx PORTVERSION= 1.6 PORTREVISION= 4 CATEGORIES= news MASTER_SITES= LOCAL/thierry MAINTAINER= thierry@FreeBSD.org COMMENT= Program to fetch news from and post news to a remote NNTP server LICENSE= GPLv2 .if defined(WITH_CNEWS) BUILD_DEPENDS= ${LOCALBASE}/news/lib/libcnews.a:news/cnews .elif !defined(WITHOUT_INN_2-X) BUILD_DEPENDS= ${LOCALBASE}/news/lib/libinn.so:news/inn RUN_DEPENDS= ${LOCALBASE}/news/lib/libinn.so:news/inn .endif USES= cpe GNU_CONFIGURE= yes CFLAGS+= -fcommon CONFLICTS= leafnode-1.* OPTIONS_DEFINE= DOCS .if !defined(WITH_CNEWS) .if !defined(WITHOUT_INN_2-X) CPPFLAGS+= -I${LOCALBASE}/news/include/inn .endif .endif .if defined(PACKAGE_BUILDING) CONFIGURE_ARGS+= --without-history .endif PORTDOCS= AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README TODO .include 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" @${ECHO} "${PORTSDIR}/news/inn, and then try building this port" @${ECHO} "again." @${ECHO} "*********************************************************" post-build: .if !defined(WITH_DEBUG) ${STRIP_CMD} ${WRKSRC}/src/newsx .endif post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/news/nget/Makefile b/news/nget/Makefile index 27890d52a89c..68ebbb69edec 100644 --- a/news/nget/Makefile +++ b/news/nget/Makefile @@ -1,48 +1,46 @@ -# Created by: George Sorsby - PORTNAME= nget PORTVERSION= 0.27.1 DISTVERSIONSUFFIX= +uulib PORTREVISION= 7 CATEGORIES= news MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Auto-resuming command line NNTP file grabber LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang gmake GNU_CONFIGURE= yes # Skip check if the C++ compiler supports exceptions. We know both # Clang and GCC do. The configure test fails on FreeBSD 10.3 because # it passes -fhandle-exceptions to the compiler and Clang 3.4.1 does # not know to ignore it yet. CONFIGURE_ARGS= my_cv_exceptions=1 OPTIONS_DEFINE= DOCS WRKSRC= ${WRKDIR}/nget-${PORTVERSION} .include .if ${CHOSEN_COMPILER_TYPE} == gcc CXXFLAGS+= -std=c++11 .else CXXFLAGS+= -std=c++98 .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nget ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/ngetlite ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/nget.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/ngetlite.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README FAQ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/news/nn/Makefile b/news/nn/Makefile index 5397593a9b43..db6b54b39393 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -1,35 +1,33 @@ -# Created by: adam - PORTNAME= nn PORTVERSION= 6.7.3 PORTREVISION= 1 CATEGORIES= news MASTER_SITES= ftp://ftp.nndev.org/pub/nn-${PORTVERSION:R}/ MAINTAINER= ports@FreeBSD.org COMMENT= Menu based USENET newsreader BROKEN_aarch64= Fails to link: missing sbrk BROKEN_riscv64= Fails to link: missing sbrk SUB_FILES= pkg-message USES= tar:Z MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Iconf -fcommon" LDFLAGS="${LDFLAGS} -s" pre-patch: @${CP} ${WRKSRC}/config.h-dist ${WRKSRC}/config.h.unparsed pre-build: @${SED} 's#SUB_PREFIX#${PREFIX}#; s#SUB_MANPREFIX#${MANPREFIX}#' \ ${WRKSRC}/config.h.unparsed > ${WRKSRC}/config.h post-build: @${REINPLACE_CMD} 's#${PREFIX}#$${DESTDIR}&#' ${WRKSRC}/inst post-install: ${INSTALL_DATA} ${FILESDIR}/nntp_domain.dist \ ${FILESDIR}/nntp_server.dist \ ${STAGEDIR}${PREFIX}/etc .include diff --git a/news/nnap/Makefile b/news/nnap/Makefile index 0fde93117090..c9f23c0e2a6f 100644 --- a/news/nnap/Makefile +++ b/news/nnap/Makefile @@ -1,26 +1,24 @@ -# Created by: Lasse L. Johnsen (lasse@freebsdcluster.org) - PORTNAME= nnap PORTVERSION= 1.1 CATEGORIES= news MASTER_SITES= http://www.freebsdcluster.org/~lasse/software/ DISTNAME= nnap-1_1 EXTRACT_SUFX= .c MAINTAINER= lasse@freebsdcluster.org COMMENT= Lightweight NNTP authentication proxy NO_WRKSUBDIR= yes PLIST_FILES= sbin/nnap do-extract: @${MKDIR} ${WRKSRC} @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC} do-build: (cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${DISTNAME}.c) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin .include diff --git a/news/nntp/Makefile b/news/nntp/Makefile index e9017478e121..c50c56146490 100644 --- a/news/nntp/Makefile +++ b/news/nntp/Makefile @@ -1,86 +1,84 @@ -# Created by: Adam David - PORTNAME= nntp PORTVERSION= 1.5.12.2 PORTREVISION= 10 CATEGORIES= news MASTER_SITES= ftp://ftp.dinoex.org/pub/c-news/ DISTNAME= ${PORTNAME}.${PORTVERSION} PATCH_SITES= ftp://ftp.dinoex.org/pub/c-news/ PATCHFILES= nntp-patch-ansi MAINTAINER= dinoex@FreeBSD.org COMMENT= NNTP with NOV support BUILD_DEPENDS= ${LOCALBASE}/lib/libcnews.a:news/cnews NO_WRKSUBDIR= yes USE_CSTD= gnu89 PLIST_SUB+= VARBASE=${VARBASE} PLIST_SUB+= NEWSBIN=${NEWSBIN:S=^${PREFIX}/==} PLIST_SUB+= NEWSCTL=${NEWSCTL:S=^${VARBASE}/==} DOCSFILES1= AUTHORIZE CHANGES README README-conf.h SYSLOG doc/rfc977 DOCSFILES2= server support xfer xmit VARBASE?= /var NEWSBIN?= ${PREFIX}/libexec/cnews NEWSCTL?= ${VARBASE}/lib/news NEWSARTS?= ${VARBASE}/news NEWSOV?= ${VARBASE}/news/over.view MAKE_ENV+= DBLIBS="${LOCALBASE}/lib/libcnews.a -lcrypt -lutil" MAKE_ENV+= ETCDIR="${STAGEDIR}${PREFIX}/sbin" MAKE_ENV+= BINDIR="${STAGEDIR}${NEWSBIN}" MAKE_ENV+= MANDIR="${STAGEDIR}${PREFIX}/man" MAKE_ENV+= EXECDIR="${STAGEDIR}${PREFIX}/libexec" OPTIONS_DEFINE= DOCS .include post-extract: ${CP} ${WRKSRC}/conf.h.dist ${WRKSRC}/conf.h post-patch: ${REINPLACE_CMD} \ -e 's=getline(=xmit_getline(=' \ ${WRKSRC}/xmit/nntpxmit.c ${REINPLACE_CMD} \ -e 's=reaper()=reaper(int unused)=' \ ${WRKSRC}/server/netaux.c (cd ${WRKSRC} && ${CP} -pr server inetd) ${REINPLACE_CMD} \ -e 's|^CPPFLAGS|#CPPFLAGS|' \ -e 's|ETCDIR|EXECDIR|g' \ ${WRKSRC}/inetd/Makefile pre-configure: ${REINPLACE_CMD} \ -e 's|\#define.ALONE.*||' \ -e "s=/usr/local/news/lib/bin/config=${NEWSBIN}/config=" \ -e "s=/usr/local/news/cnewsbin=${NEWSBIN}=" \ -e "s=/usr/local/news/lib=${NEWSCTL}=" \ -e "s=/var/news/over.view=${NEWSOV}=" \ -e "s=/var/news=${NEWSARTS}=" \ -e "s=/usr/local/bin=${PREFIX}/bin=" \ -e "s=/usr/local/sbin=${PREFIX}/sbin=" \ -e "s=/usr/local/man=${PREFIX}/man=" \ ${WRKSRC}/conf.h pre-install: ${MKDIR} ${STAGEDIR}${NEWSBIN} post-install: ${MKDIR} ${STAGEDIR}${NEWSCTL} ${INSTALL_DATA} ${WRKSRC}/overview.fmt ${STAGEDIR}${NEWSCTL}/overview.fmt post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCSFILES1:S=^=${WRKSRC}/=} ${STAGEDIR}${DOCSDIR}/ .for i in ${DOCSFILES2} ${INSTALL_DATA} ${WRKSRC}/${i}/README ${STAGEDIR}${DOCSDIR}/${i}-README .endfor .include diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile index 2c99e59bfd8e..04e96322e85e 100644 --- a/news/nntpcache/Makefile +++ b/news/nntpcache/Makefile @@ -1,67 +1,65 @@ -# Created by: proff@suburbia.net - PORTNAME= nntpcache PORTVERSION= 3.0.2 PORTREVISION= 11 CATEGORIES= news MASTER_SITES= http://www.xs4all.nl/~suelette/ MAINTAINER= ports@FreeBSD.org COMMENT= News caching/anti-spam/server-merging system # Converted from NO_CDROM LICENSE= nttpcache LICENSE_NAME= nttpcache LICENSE_TEXT= Free for individuals and non-military, non-profit organisations only LICENSE_PERMS= dist-mirror pkg-mirror auto-accept BROKEN_FreeBSD_13= ld: error: duplicate symbol: jmp BROKEN_FreeBSD_14= ld: error: duplicate symbol: jmp BROKEN_aarch64= fails to link: missing sbrk BROKEN_mips64= fails to build: qemu: uncaught target signal 11 (Segmentation fault) - core dumped BROKEN_riscv64= fails to link: missing sbrk # This may be set interactively at install-time. NNTPCache will # cache news articles and related data in ${SPOOLDIR}/nntpcache. SPOOLDIR?= /var/spool USES= compiler:c11 gmake autoreconf shebangfix GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=${SPOOLDIR} \ --program-transform-name='' SHEBANG_FILES= contrib/perlnewshound/newshound.pl AUTHINFO_EXT= authinfo_pam.ext USE_RC_SUBR= nntpcached OPTIONS_DEFINE= LDAP RADIUS SPAMPHOBIA DOCS SPAMPHOBIA_DESC= Spamphobia NoCeM support RADIUS_CONFIGURE_WITH= authinfo-radius RADIUS_VARS= AUTHINFO_EXT+=authinfo_radius.ext LDAP_USE= OPENLDAP=yes LDAP_CONFIGURE_WITH= authinfo-ldap LDAP_CPPFLAGS= -I${PREFIX}/include -I${LOCALBASE}/include LDAP_LDFLAGS= -L${PREFIX}/lib -L${LOCALBASE}/lib LDAP_VARS= AUTHINFO_EXT+=authinfo_ldap.ext NNTPSPOOLDIR?= ${SPOOLDIR}/${PORTNAME} PLIST_SUB+= SPOOLDIR=${NNTPSPOOLDIR} CPIO_CMD= ${CPIO} --quiet -pdum -R PORTDOCS= AUTHORS ChangeLog FAQ FAQ.html HACKING HTML \ INSTALL LICENSING NEWS README README.INN VERSION REVISEDATE= 20060903 SPAMPHOBIA_PATCH_SITES= http://people.freebsd.org/~leeym/:SPAMPHOBIA SPAMPHOBIA_PATCHFILES= ${DISTNAME}-spamphobia-${REVISEDATE}.diff.gz:SPAMPHOBIA post-configure: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} -C ${WRKSRC}/src ${AUTHINFO_EXT} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include diff --git a/news/noffle/Makefile b/news/noffle/Makefile index b7d725b91e8c..845e115a5673 100644 --- a/news/noffle/Makefile +++ b/news/noffle/Makefile @@ -1,57 +1,55 @@ -# Created by: Kirill Ponomarew - PORTNAME= noffle PORTVERSION= 1.1.5 PORTREVISION= 3 CATEGORIES= news MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28devel%29/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= News server for low speed dial-up connections LIB_DEPENDS= libgdbm.so:databases/gdbm LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= localbase GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-configfile=${LOCALBASE}/etc/noffle.conf \ --with-usersfile=${LOCALBASE}/etc/noffle.users PLIST_SUB= SPOOL_DIR=${SPOOL_DIR} SUB_FILES= pkg-message SPOOL_DIR= /var/spool/noffle DOCS= ChangeLog docs/FAQ docs/INTERNALS README \ docs/testing.txt docs/noffle.lsm OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|/etc/noffle.conf|${PREFIX}/etc/noffle.conf|g' \ ${WRKSRC}/docs/${PORTNAME}.1 \ ${WRKSRC}/docs/${PORTNAME}.conf.5 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/docs/noffle.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/docs/noffle.conf.5 \ ${STAGEDIR}${MANPREFIX}/man/man5 ${INSTALL_DATA} ${WRKSRC}/noffle.conf.example \ ${STAGEDIR}${PREFIX}/etc/noffle.conf.sample @${MKDIR} ${STAGEDIR}${SPOOL_DIR}/data \ ${STAGEDIR}${SPOOL_DIR}/lock \ ${STAGEDIR}${SPOOL_DIR}/outgoing \ ${STAGEDIR}${SPOOL_DIR}/overview \ ${STAGEDIR}${SPOOL_DIR}/requested do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile index 5e0f3c5fb3b5..eb156db9b04e 100644 --- a/news/nzbget/Makefile +++ b/news/nzbget/Makefile @@ -1,48 +1,46 @@ -# Created by: Lewis Thompson - PORTNAME= nzbget PORTVERSION= 21.1 PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= news MAINTAINER= alexis.praga@free.fr COMMENT= Binary newsreader supporting NZB files LICENSE= GPLv2 LIB_DEPENDS= libxml2.so:textproc/libxml2 USES= autoreconf compiler:c++14-lang cpe gmake localbase ncurses \ pkgconfig python:build shebangfix ssl USE_GITHUB= yes USE_RC_SUBR= nzbget SHEBANG_FILES= scripts/*.py GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libcurses-includes=${NCURSESINC} \ --with-libcurses-libraries=${NCURSESLIB} \ --with-tlslib=OpenSSL \ --with-openssl-includes=${OPENSSLINC} \ --with-openssl-libraries=${OPENSSLLIB} BINMODE= 0755 SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS OPTIMIZED_FLAGS OPTIMIZED_FLAGS_DESC= Enable optimized CPU instructions (SSE2/SSE3/NEON/etc) OPTIMIZED_FLAGS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-disable-optimized-flags.patch .include .if (${ARCH} == "i386") CONFIGURE_ARGS+= --disable-sigchld-handler .endif post-install: ${INSTALL_DATA} ${WRKSRC}/nzbget.conf \ ${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample .include diff --git a/news/nzbperl/Makefile b/news/nzbperl/Makefile index 6c9400c7dde8..8ba1033bbbca 100644 --- a/news/nzbperl/Makefile +++ b/news/nzbperl/Makefile @@ -1,37 +1,35 @@ -# Created by: Tim Welch - PORTNAME= nzbperl PORTVERSION= 0.6.8 PORTREVISION= 1 CATEGORIES= news MASTER_SITES= http://www.thepentagon.org/local_distfiles/ \ http://noisybox.net/computers/nzbperl/ \ ftp://ftp.foss.org.my/pub/FreeBSD/misc/ DISTNAME= ${PORTNAME}-${PORTVERSION}.pl EXTRACT_SUFX= MAINTAINER= ports@thepentagon.org COMMENT= Perl script for downloading nzb files RUN_DEPENDS= p5-XML-DOM>=0:textproc/p5-XML-DOM \ p5-Term-ReadKey>=0:devel/p5-Term-ReadKey \ uudeview:converters/uudeview USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= ${DISTNAME} PLIST_FILES= bin/${PORTNAME} NO_BUILD= yes OPTIONS_DEFINE= SSL SSL_RUN_DEPENDS=p5-Net-SSLeay>=0:security/p5-Net-SSLeay do-extract: @${MKDIR} ${WRKSRC} ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/news/p5-NNTPClient/Makefile b/news/p5-NNTPClient/Makefile index 92b11ef2d286..7f95dcadcab8 100644 --- a/news/p5-NNTPClient/Makefile +++ b/news/p5-NNTPClient/Makefile @@ -1,16 +1,14 @@ -# Created by: Ade Lovett - PORTNAME= NNTPClient PORTVERSION= 0.37 PORTREVISION= 1 CATEGORIES= news perl5 MASTER_SITES= CPAN/News PKGNAMEPREFIX= p5- MAINTAINER= gary@hayers.org COMMENT= Client interface to NNTP (RFC977) USES= perl5 USE_PERL5= configure .include diff --git a/news/p5-News-Article-NoCeM/Makefile b/news/p5-News-Article-NoCeM/Makefile index 989fe9e0f638..d695139f030b 100644 --- a/news/p5-News-Article-NoCeM/Makefile +++ b/news/p5-News-Article-NoCeM/Makefile @@ -1,23 +1,21 @@ -# Created by: Yen-Ming Lee - PORTNAME= News-Article-NoCeM PORTVERSION= 0.09 CATEGORIES= news perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Module to generate accurate NoCeM notices LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-News-Article>=0:news/p5-News-Article \ p5-PGP-Sign>=0:security/p5-PGP-Sign USES= perl5 USE_PERL5= configure .include diff --git a/news/p5-News-Article/Makefile b/news/p5-News-Article/Makefile index 92a259c77198..fb5dab2357e1 100644 --- a/news/p5-News-Article/Makefile +++ b/news/p5-News-Article/Makefile @@ -1,27 +1,25 @@ -# Created by: Don Croyle - PORTNAME= News-Article PORTVERSION= 1.27 PORTREVISION= 4 CATEGORIES= news perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Object for handling Usenet articles in mail or news form LICENSE= ART10 GPLv1+ LICENSE_COMB= dual NO_ARCH= yes USES= perl5 USE_PERL5= configure OPTIONS_DEFINE= PGP_SIGN OPTIONS_DEFAULT=PGP_SIGN PGP_SIGN_DESC= PGP::Sign support for header signing PGP_SIGN_BUILD_DEPENDS= p5-PGP-Sign>=0:security/p5-PGP-Sign PGP_SIGN_RUN_DEPENDS= p5-PGP-Sign>=0:security/p5-PGP-Sign .include diff --git a/news/p5-News-Newsrc/Makefile b/news/p5-News-Newsrc/Makefile index c2c8b6d45652..86cf3c9da0e1 100644 --- a/news/p5-News-Newsrc/Makefile +++ b/news/p5-News-Newsrc/Makefile @@ -1,19 +1,17 @@ -# Created by: Don Croyle - PORTNAME= News-Newsrc PORTVERSION= 1.11 PORTREVISION= 1 CATEGORIES= news perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Manage newsrc files BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Set-IntSpan>=0:math/p5-Set-IntSpan USES= perl5 USE_PERL5= configure .include diff --git a/news/p5-POE-Component-Client-NNTP/Makefile b/news/p5-POE-Component-Client-NNTP/Makefile index 89a34c20121f..495b97f7cb3b 100644 --- a/news/p5-POE-Component-Client-NNTP/Makefile +++ b/news/p5-POE-Component-Client-NNTP/Makefile @@ -1,22 +1,20 @@ -# Created by: Sergey Skvortsov - PORTNAME= POE-Component-Client-NNTP PORTVERSION= 2.22 PORTREVISION= 1 CATEGORIES= news perl5 devel MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= POE component for non-blocking NNTP access BUILD_DEPENDS= p5-POE>=0.999.9:devel/p5-POE \ p5-POE-Component-Pluggable>=0.03:devel/p5-POE-Component-Pluggable \ p5-Test-POE-Server-TCP>=0:devel/p5-Test-POE-Server-TCP RUN_DEPENDS= p5-POE>=0.999.9:devel/p5-POE \ p5-POE-Component-Pluggable>=0.03:devel/p5-POE-Component-Pluggable USES= perl5 USE_PERL5= configure .include diff --git a/news/p5-POE-Component-Server-NNTP/Makefile b/news/p5-POE-Component-Server-NNTP/Makefile index 502cb29e761a..bb6bd2189400 100644 --- a/news/p5-POE-Component-Server-NNTP/Makefile +++ b/news/p5-POE-Component-Server-NNTP/Makefile @@ -1,25 +1,23 @@ -# Created by: Jin-Shan Tseng - PORTNAME= POE-Component-Server-NNTP PORTVERSION= 1.06 CATEGORIES= news perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Component that provides NNTP server functionality LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-POE>=0.38:devel/p5-POE \ p5-POE-Component-Client-NNTP>=1.05:news/p5-POE-Component-Client-NNTP \ p5-POE-Component-Pluggable>=0.03:devel/p5-POE-Component-Pluggable NO_ARCH= yes USES= perl5 USE_PERL5= configure .include diff --git a/news/pan/Makefile b/news/pan/Makefile index bd4481357231..df814a3326db 100644 --- a/news/pan/Makefile +++ b/news/pan/Makefile @@ -1,54 +1,52 @@ -# Created by: Joe Marcus Clarke - PORTNAME= pan PORTVERSION= 0.145 PORTREVISION= 1 CATEGORIES= news gnome MASTER_SITES= http://pan.rebelbase.com/download/releases/${PORTVERSION}/source/ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Threaded GTK+ newsreader based on Agent for Windows LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool LIB_DEPENDS= libpcre.so:devel/pcre \ libenchant.so:textproc/enchant \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmime-2.6.so:mail/gmime26 USES= compiler:c++11-lang desktop-file-utils gettext-tools:build \ gmake gnome iconv localbase pathfix pkgconfig tar:bzip2 USE_GNOME= cairo gdkpixbuf2 intlhack GNU_CONFIGURE= yes LDFLAGS+= ${ICONV_LIB} OPTIONS_DEFINE= GTKSPELL GNUTLS NLS OPTIONS_DEFAULT= GTKSPELL GNUTLS GTK2 OPTIONS_RADIO= GTK OPTIONS_RADIO_GTK= GTK2 GTK3 OPTIONS_SUB= yes GTKSPELL_DESC= Spell checking support (gtk+2 only) GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_WITH= gnutls GTK3_CONFIGURE_WITH= gtk3 GTK3_USE= gnome=gtk30 GTK2_USE= gnome=gtk20 GTKSPELL_LIB_DEPENDS= libgtkspell.so:textproc/gtkspell GTKSPELL_CONFIGURE_WITH=gtkspell GTK3_PREVENTS= GTKSPELL NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-patch: ${REINPLACE_CMD} -e 's|noinst_PROGRAMS = |noinst_PROGRAMS = #|g' \ ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e '98s|const std|std|' ${WRKSRC}/pan/general/string-view.h .include diff --git a/news/py-pynzb/Makefile b/news/py-pynzb/Makefile index bdb08edcfd25..362425b6b314 100644 --- a/news/py-pynzb/Makefile +++ b/news/py-pynzb/Makefile @@ -1,22 +1,20 @@ -# Created by: Mario Sergio Fujikawa Ferreira - PORTNAME= pynzb PORTVERSION= 0.1.0 PORTREVISION= 2 CATEGORIES= news python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Unified API for parsing NZB files LICENSE= BSD3CLAUSE USES= python:3.6+ USE_PYTHON= distutils autoplist OPTIONS_DEFINE= LXML LXML_DESC= Add support for py-lxml LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.2.1:devel/py-lxml@${PY_FLAVOR} .include diff --git a/news/py-sabyenc3/Makefile b/news/py-sabyenc3/Makefile index 1cd710047e82..8efbb1ef7032 100644 --- a/news/py-sabyenc3/Makefile +++ b/news/py-sabyenc3/Makefile @@ -1,21 +1,19 @@ -# Created by: Ralf van der Enden - PORTNAME= sabyenc3 PORTVERSION= 5.4.3 CATEGORIES= news python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python yEnc package optimized for use within SABnzbd LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= python:3.5+ USE_PYTHON= autoplist concurrent distutils post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/news/s-news/Makefile b/news/s-news/Makefile index 11881197b950..84ec6368c125 100644 --- a/news/s-news/Makefile +++ b/news/s-news/Makefile @@ -1,33 +1,31 @@ -# Created by: Andrey Slusar - PORTNAME= s-news PORTVERSION= 0.1.11 PORTREVISION= 5 CATEGORIES= news MASTER_SITES= http://www.lost.org.uk/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple news server for hosts with one or two users LIB_DEPENDS= libgdbm.so:databases/gdbm CONFLICTS= cnews nntp trn4 # bin/inews sbin/nntpd CONFIGURE_ARGS+= \ --with-confdir=${PREFIX}/etc/s-news \ --with-spooldir=/var/spool/s-news LDFLAGS+= -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include USES= gmake fakeroot GNU_CONFIGURE= yes PORTDOCS= README README.conf README.suck TODO OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/news/slrn/Makefile b/news/slrn/Makefile index 90477d8e9713..f4ae50d28c72 100644 --- a/news/slrn/Makefile +++ b/news/slrn/Makefile @@ -1,45 +1,43 @@ -# Created by: Carey Jones - PORTNAME= slrn PORTVERSION= 1.0.3a PORTREVISION= 1 CATEGORIES= news MASTER_SITES= http://www.jedsoft.org/releases/slrn/ MAINTAINER= ports@FreeBSD.org COMMENT= SLang-based newsreader LICENSE= GPLv2+ LIB_DEPENDS= libslang.so:devel/libslang2 CONFLICTS_INSTALL= ja-slrn USES= gmake iconv tar:bz2 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--disable-inews --with-slrnpull \ ${ICONV_CONFIGURE_ARG} ALL_TARGET= all WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[a-z]$//} MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= NLS SSL DEVIEW DOCS OPTIONS_DEFAULT=SSL OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls SSL_USES= ssl SSL_CONFIGURE_WITH= ssl DEVIEW_DESC?= UUdecode view support DEVIEW_LIB_DEPENDS= libuu.so:converters/uulib DEVIEW_CONFIGURE_WITH= uulib DOCS_CONFIGURE_OFF= --with-docdir=${WRKSRC}/dummy post-patch: @${REINPLACE_CMD} -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \ ${WRKSRC}/src/slrnfeat.hin .include diff --git a/news/slrnface/Makefile b/news/slrnface/Makefile index fc130e418335..08cbc52cb30a 100644 --- a/news/slrnface/Makefile +++ b/news/slrnface/Makefile @@ -1,33 +1,31 @@ -# Created by: Oliver Braun - PORTNAME= slrnface PORTVERSION= 2.1.1 PORTREVISION= 6 CATEGORIES= news MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${PORTVERSION}.orig MAINTAINER= ports@FreeBSD.org COMMENT= Shows X-Faces from slrn in X11 terminal emulator LIB_DEPENDS= libcompface.so:mail/faces WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} ALL_TARGET= slrnface MAKE_ARGS= CC="${CC}" C_FLAGS="${CFLAGS}" \ X_INCL=-I${LOCALBASE}/include \ XF_LIB="-L${LOCALBASE}/lib -lcompface" USES= xorg USE_XORG= xt PLIST_FILES= bin/slrnface man/man1/slrnface.1.gz %%DATADIR%%/slrnface.sl SUB_FILES= pkg-message do-install: ${INSTALL_PROGRAM} ${WRKSRC}/slrnface ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/slrnface.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/slrnface.sl ${STAGEDIR}${DATADIR} .include diff --git a/news/suck/Makefile b/news/suck/Makefile index b718a402bfc4..c42d6b6347ca 100644 --- a/news/suck/Makefile +++ b/news/suck/Makefile @@ -1,88 +1,86 @@ -# Created by: Noritaka Ishizumi - PORTNAME= suck PORTVERSION= 4.3.4 CATEGORIES= news PKGNAMESUFFIX?= ${CNEWS_SUFFIX}${PKGNAMESUFFIX2} MAINTAINER= dinoex@FreeBSD.org COMMENT= Receives/sends news to/from localhost via NNTP LICENSE= PD CONFLICTS?= suckblow-1.* USES= autoreconf gmake shebangfix SHEBANG_FILES= sample/post_filter.pl GNU_CONFIGURE= yes MAKE_ENV= CHKHISTORY=chkhistory_db.o USE_GITHUB= yes GH_ACCOUNT= lazarus-pkgs EX_SCRIPTS= get.news.generic get.news.inn perl_kill.pl perl_xover.pl \ post_filter.pl put.news put.news.pl put.news.sm put.news.sm.pl EX_DATA= suckkillfile.sample sucknewsrc.sample suckothermsgs.sample OPTIONS_DEFINE= SSL EXAMPLES OPTIONS_SINGLE= NEWS OPTIONS_SINGLE_NEWS= INN CNEWS OPTIONS_DEFAULT?= SSL INN INN_DESC= Build for local inn news server CNEWS_DESC= Build for local cnews news server VARBASE?= /var NEWSBIN?= ${LOCALBASE}/libexec/cnews NEWSCTL?= ${VARBASE}/lib/news .include .if ${PORT_OPTIONS:MCNEWS} CNEWS_PORT?= news/cnews CNEWS_SUFFIX= -cnews MAKE_ENV+= DB_TYPE=-DUSE_DBZ DB_LIB=-lcnews MAKE_ENV+= DB_LIB_LOC=-L${LOCALBASE}/lib MAKE_ENV+= INCDIR2=-I${LOCALBASE}/include BUILD_DEPENDS+= ${LOCALBASE}/lib/libcnews.a:${CNEWS_PORT} CONFLICTS+= suck-4.* .endif .if ${PORT_OPTIONS:MINN} CFLAGS+= -DNO_CONFIGDATA -I${LOCALBASE}/include/inn MAKE_ENV+= DB_TYPE="-DUSE_INN23 -DDO_TAGGED_HASH" MAKE_ENV+= DB_LIB="-linn -lstorage -linnhist" MAKE_ENV+= DB_LIB_LOC=-L${LOCALBASE}/news/lib MAKE_ENV+= DB_INC_LOC="-I${LOCALBASE}/news/include -I${LOCALBASE}/news/include/inn" MAKE_ENV+= INCDIR2=-I${LOCALBASE}/include BUILD_DEPENDS+= ${LOCALBASE}/news/lib/libinn.a:news/inn CONFLICTS+= suck-cnews-4.* .endif .if ${PORT_OPTIONS:MSSL} USES+= ssl MAKE_ENV+= SSL_LIB="-lssl -lcrypto" MAKE_ENV+= SSL_DEFS="-I${OPENSSLINC} -DHAVE_LIBSSL" MAKE_ENV+= SSL_LIB_LOC="-L${OPENSSLLIB}" .endif pre-configure: .if ${PORT_OPTIONS:MCNEWS} ${REINPLACE_CMD} -e "s=/usr/news/db=${NEWSCTL}=" \ -e "s=/usr/lib/news/rnews=${NEWSBIN}/rnews=" \ -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \ ${WRKSRC}/suck_config.h .endif .if ${PORT_OPTIONS:MINN} ${REINPLACE_CMD} -e "s=/usr/news/db=${LOCALBASE}/news/lib=" \ -e "s=/usr/lib/news/rnews=${LOCALBASE}/libexec/news/bin/rnews=" \ -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \ ${WRKSRC}/suck_config.h .endif .if ${PORT_OPTIONS:MEXAMPLES} post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${EX_SCRIPTS:S=^=${WRKSRC}/sample/=} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${EX_DATA:S=^=${WRKSRC}/sample/=} ${STAGEDIR}${EXAMPLESDIR}/ .endif .include diff --git a/news/tin/Makefile b/news/tin/Makefile index 146370da79bc..14c078c03bee 100644 --- a/news/tin/Makefile +++ b/news/tin/Makefile @@ -1,103 +1,101 @@ -# Created by: obrien@cs.ucdavis.edu - PORTNAME= tin PORTVERSION= 2.6.1 PORTREVISION= 1 CATEGORIES+= news MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/v${PORTVERSION:R}/ \ ftp://ftp.sunet.se/pub/news/readers/tin/v${PORTVERSION:R}/ \ ftp://sunsite.icm.edu.pl/pub/unix/news/tin/v${PORTVERSION:R}/ \ ftp://ftp.ka.nu/pub/news/clients/tin/v${PORTVERSION:R}/ \ ftp://ftp.tau.ac.il/pub/unix/news/tin/v${PORTVERSION:R}/ \ ftp://ftp.cuhk.edu.hk/pub/packages/news/tin/v${PORTVERSION:R}/ \ ftp://ftp.funet.fi/pub/unix/news/tin-unoff/ \ ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/ \ ftp://ftp.karlsruhe.org/pub/news/clients/tin/v${PORTVERSION:R}/ \ ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin/v${PORTVERSION:R}/ \ ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/v${PORTVERSION:R}/ \ ftp://ftp.informatik.uni-hamburg.de/pub/soft/news/tin/v${PORTVERSION:R}/ MAINTAINER?= kbowling@FreeBSD.org COMMENT= Easy-to-use threaded newsreader with NOV/NNTP support LICENSE= BSD3CLAUSE LIB_DEPENDS= libuu.so:converters/uulib \ libicuuc.so:devel/icu \ libpcre.so:devel/pcre RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support USES= gmake iconv ncurses shebangfix tar:bzip2 GNU_CONFIGURE= yes SHEBANG_FILES= tools/opt-case.pl tools/tinews.pl tools/url_handler.pl \ tools/w2r.pl TIN_EDITOR?= /usr/bin/ee TIN_SCREEN?= ncursesw OPTIONS_DEFINE= GNUPG ISPELL METAMAIL CANLOCK NNTP_ONLY SLRNFACE NLS OPTIONS_DEFAULT= GNUPG ISPELL METAMAIL OPTIONS_SUB= yes NNTP_ONLY_DESC= Only read news via NNTP (no spool dir support) NNTP_ONLY_CONFIGURE_ENABLE=nntp-only GNUPG_RUN_DEPENDS= gpg:security/gnupg GNUPG_CONFIGURE_ON= --with-gpg=${LOCALBASE}/bin/gpg \ --without-pgp --without-pgpk GNUPG_CONFIGURE_OFF= --disable-pgp-gpg ISPELL_RUN_DEPENDS= ispell:textproc/aspell-ispell ISPELL_CONFIGURE_ON= --with-ispell=${LOCALBASE}/bin/ispell METAMAIL_DESC?= Use metamail to handle MIME attachments METAMAIL_RUN_DEPENDS= metamail:mail/metamail METAMAIL_CONFIGURE_ON= --with-metamail=${LOCALBASE}/bin/metamail CANLOCK_DESC= Enable Cancel-Lock key support via libcanlock CANLOCK_CONFIGURE_ENABLE=cancel-locks NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext SLRNFACE_DESC?= Use slrnface to displace sender images SLRNFACE_CONFIGURE_WITH= slrnface=slrnface SLRNFACE_BUILD_DEPENDS= slrnface:news/slrnface SLRNFACE_RUN_DEPENDS= slrnface:news/slrnface # --with-mime-default-charset=US-ASCII needed to build tin in the non-ascii # national environment. CONFIGURE_ARGS+=--with-nntp-default-server=news \ --with-spooldir=/var/news \ --with-libdir=${PREFIX}/news/lib \ --with-defaults-dir=${PREFIX}/etc \ --with-editor=${TIN_EDITOR} \ --with-pcre=${PREFIX}/lib \ --with-screen=${TIN_SCREEN} \ --enable-break-long-lines \ ${ICONV_CONFIGURE_ARG} \ --with-mime-default-charset=US-ASCII \ --enable-ipv6 MAKE_ARGS+= MAKE=${MAKE_CMD} CFLAGS+= -DNNTP_SERVER_FILE=\\\"${PREFIX}/etc/nntpserver\\\" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ALL_TARGET= build post-patch: ${REINPLACE_CMD} -Ee 's:5/(mmdf|mbox):5/tin_\1:g' \ ${WRKSRC}/src/Makefile.in ${REINPLACE_CMD} -e 's:/var/spool/news:/var/news:g' \ -e 's:/etc/nntpserver:${PREFIX}/etc/nntpserver:g' \ -e 's:/usr/lib/news:${PREFIX}/news/lib:g' \ -e 's:/etc/mime\.types:${PREFIX}/etc/mime.types:g' \ -e 's:url_handler\.pl:tinurl_handler.pl:g' \ ${WRKSRC}/doc/tin.1 ${WRKSRC}/doc/tin.5 ${REINPLACE_CMD} \ -e 's:/etc/mime\.types:${PREFIX}/etc/mime.types:g' \ ${WRKSRC}/src/mimetypes.c ${REINPLACE_CMD} \ -e 's:url_handler\.pl:tinurl_handler.pl:g' \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/include/tin.h ${MV} ${WRKSRC}/tools/url_handler.pl \ ${WRKSRC}/tools/tinurl_handler.pl post-install: ${INSTALL_DATA} ${WRKSRC}/doc/tin.defaults \ ${STAGEDIR}${PREFIX}/etc/tin.defaults.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tin ln -sf tin ${STAGEDIR}${PREFIX}/bin/rtin .include diff --git a/news/trn/Makefile b/news/trn/Makefile index f29fda91d6bc..991767f85331 100644 --- a/news/trn/Makefile +++ b/news/trn/Makefile @@ -1,29 +1,27 @@ -# Created by: smace - PORTNAME= trn PORTVERSION= 3.6 CATEGORIES= news MASTER_SITES= ftp://ftp.uu.net/networking/news/readers/trn/ \ ftp://ftp.funet.fi/pub/unix/news/trn/ MAINTAINER= ports@FreeBSD.org COMMENT= Threaded Read News newsreader RUN_DEPENDS= munpack:converters/mpack CONFLICTS_INSTALL= s-news trn4 USES= ncurses WRKSRC= ${WRKDIR}/trn-3.6 HAS_CONFIGURE= Yes CONFIGURE_SCRIPT= Configure CONFIGURE_ENV= PREFIX="${PREFIX}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= -S SUB_FILES= pkg-message post-patch: ${REINPLACE_CMD} 's/$$install/\\$${DESTDIR}&/' ${WRKSRC}/Makefile.SH .include diff --git a/news/trn4/Makefile b/news/trn4/Makefile index 3ee9c0a48745..1fa5e3cfc5b7 100644 --- a/news/trn4/Makefile +++ b/news/trn4/Makefile @@ -1,36 +1,34 @@ -# Created by: smace - PORTNAME= trn PORTVERSION= 4.0.b77 PKGNAMESUFFIX= 4 CATEGORIES= news MASTER_SITES= SF/${PORTNAME}/${PORTNAME}4 DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-test/} MAINTAINER= ports@FreeBSD.org COMMENT= Version 4.0 of the threaded readnews newsreader CONFLICTS_INSTALL= trn cnews s-news USES= ncurses .include post-patch: ${REINPLACE_CMD} -e 's/pipe[12]/z&/g' ${WRKSRC}/filter.c ${REINPLACE_CMD} -e 's|^dir=|&$${DESTDIR}|' ${WRKSRC}/myinstall.SH ${REINPLACE_CMD} -e 's|./makedir |&$${DESTDIR}|' \ -e 's|dest=|&$${DESTDIR}|' ${WRKSRC}/Makefile.SH pre-configure: @${ECHO_MSG} "===> Running pre-configure target for ${DISTNAME}" @${SED} -e "s:__CC__:${CC}:" -e "s:__CFLAGS__:${CFLAGS}:" \ -e "s:/PREFIX:${PREFIX}:" ${SCRIPTDIR}/preconf > \ ${WRKDIR}/preconf.new .ifdef BATCH @${ECHO_CMD} 3 | ${SH} ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC} .else @${SH} ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC} .endif .include diff --git a/news/ubh/Makefile b/news/ubh/Makefile index 3322c52f14f6..347013b3f07e 100644 --- a/news/ubh/Makefile +++ b/news/ubh/Makefile @@ -1,31 +1,29 @@ -# Created by: John Holland - PORTNAME= ubh PORTVERSION= 2.5 PORTREVISION= 3 CATEGORIES= news graphics MASTER_SITES= http://ubh.sourceforge.net/download/ MAINTAINER= john@zoner.org COMMENT= Perl script to download and decode binaries posted to Usenet RUN_DEPENDS= \ p5-News-Newsrc>=0:news/p5-News-Newsrc \ p5-Mail-Tools>=0:mail/p5-Mail-Tools \ p5-IO-Stringy>=0:devel/p5-IO-Stringy \ p5-MIME-Tools>=0:mail/p5-MIME-Tools \ p5-String-CRC32>=0:devel/p5-String-CRC32 NO_BUILD= YES USES= perl5 shebangfix SHEBANG_FILES= ubh OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ubh ${STAGEDIR}${PREFIX}/bin ${CP} -R ${WRKSRC}/examples ${STAGEDIR}${PREFIX}/share/ubh ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ubh ${INSTALL_DATA} ${WRKSRC}/doc/ubh.html ${STAGEDIR}${PREFIX}/share/doc/ubh .include diff --git a/news/yencode/Makefile b/news/yencode/Makefile index 308ad27c93dd..292a960611f2 100644 --- a/news/yencode/Makefile +++ b/news/yencode/Makefile @@ -1,18 +1,16 @@ -# Created by: ijliao - PORTNAME= yencode PORTVERSION= 0.46 PORTREVISION= 7 CATEGORIES= news MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Free (GPL) encoder and decoder for the yEnc Usenet file format USES= gettext GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .include diff --git a/news/yydecode/Makefile b/news/yydecode/Makefile index f4f01cc7c04c..ae7429f3ba8a 100644 --- a/news/yydecode/Makefile +++ b/news/yydecode/Makefile @@ -1,17 +1,15 @@ -# Created by: Mikolaj Rydzewski - PORTNAME= yydecode PORTVERSION= 0.2.10 CATEGORIES= news MASTER_SITES= SF MAINTAINER= miki@ceti.pl COMMENT= Tool to decode yEnc encoded files USES= gmake GNU_CONFIGURE= yes PLIST_FILES= bin/yydecode \ man/man1/yydecode.1.gz .include