aboutsummaryrefslogtreecommitdiffstats
path: root/news/slrn/Makefile
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-08-23 23:30:40 +0800
committerpetef <petef@FreeBSD.org>2001-08-23 23:30:40 +0800
commit7901e09b5fa6ac22cdbd3cdaa69edf019a8eb492 (patch)
tree992149dfef29aff69bc455ea522de16b8efd487f /news/slrn/Makefile
parent648793487c8ef5edb4e5fcabc6b8d7b57534d253 (diff)
downloadfreebsd-ports-gnome-7901e09b5fa6ac22cdbd3cdaa69edf019a8eb492.tar.gz
freebsd-ports-gnome-7901e09b5fa6ac22cdbd3cdaa69edf019a8eb492.tar.zst
freebsd-ports-gnome-7901e09b5fa6ac22cdbd3cdaa69edf019a8eb492.zip
- update to version 0.9.7.2
- use MASTER_SITE_SOURCEFORGE - build with SSL by default (WITH_SSL => WITHOUT_SSL) - replace patch w/regex - clean up do-install target - better pkg-descr - take over as maintainer PR: 29918 Submitted by: petef Reviewed by: ade Approved by: previous maintainer (xaa+ports@timewasters.nl)
Diffstat (limited to 'news/slrn/Makefile')
-rw-r--r--news/slrn/Makefile34
1 files changed, 19 insertions, 15 deletions
diff --git a/news/slrn/Makefile b/news/slrn/Makefile
index 0f94910bf9c6..e49e9f96c7ae 100644
--- a/news/slrn/Makefile
+++ b/news/slrn/Makefile
@@ -6,38 +6,42 @@
#
PORTNAME= slrn
-PORTVERSION= 0.9.7.1
+PORTVERSION= 0.9.7.2
CATEGORIES= news ipv6
-MASTER_SITES= ftp://slrn.sourceforge.net/pub/slrn/
-DISTNAME= slrn-0.9.7.1
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= xaa+ports@timewasters.nl
+MAINTAINER= petef@FreeBSD.org
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
-GNU_CONFIGURE= yes
-ALL_TARGET= all slrnpull
-MAN1= slrn.1
+USE_GMAKE= yes
-CONFIGURE_ARGS= --enable-ipv6 --disable-inews
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-ipv6 --disable-inews --with-slrnpull
-.if defined(WITH_SSL)
+.if !defined(WITHOUT_SSL)
USE_OPENSSL= YES
CONFIGURE_ARGS+= --with-ssl
.endif
+ALL_TARGET= all slrnpull
+
+MAN1= slrn.1
+
+post-patch:
+ @${PERL} -pi -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \
+ ${WRKSRC}/src/slrnfeat.h
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${MACHINE_ARCH}objs/slrn ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/${MACHINE_ARCH}objs/slrnpull ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/examples/slrn
${INSTALL_DATA} ${WRKSRC}/doc/slrn.rc ${PREFIX}/share/examples/slrn
@${MKDIR} ${PREFIX}/share/examples/slrn/slrnpull
- ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/README ${PREFIX}/share/examples/slrn/slrnpull
- ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/SETUP ${PREFIX}/share/examples/slrn/slrnpull
- ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/score ${PREFIX}/share/examples/slrn/slrnpull
- ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/slrn.rc ${PREFIX}/share/examples/slrn/slrnpull
- ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/slrnpull.conf ${PREFIX}/share/examples/slrn/slrnpull
- ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/slrnpull.sh ${PREFIX}/share/examples/slrn/slrnpull
+.for file in FAQ README SETUP score slrn.rc slrnpull.conf slrnpull.sh
+ ${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/${file} ${PREFIX}/share/examples/slrn/slrnpull
+.endfor
${INSTALL_MAN} ${WRKSRC}/doc/slrn.1 ${PREFIX}/man/man1
.include <bsd.port.mk>