# New ports collection makefile for: spread # Date created: 11 June 2001 # Whom: Anders Nordby # # $FreeBSD$ # PORTNAME= spread PORTVERSION= 3.17.3 CATEGORIES= net perl5 MASTER_SITES= http://www.cnds.jhu.edu/download/noformdown/ \ http://www.roughtrade.net/distfiles/ DISTNAME= ${PORTNAME}-src-${PORTVERSION} MAINTAINER= joshua@roughtrade.net COMMENT= The Spread Group Communication System, a network toolkit USE_REINPLACE= yes GNU_CONFIGURE= yes USE_PERL5= yes USE_RC_SUBR= yes INSTALLS_SHLIB= yes MAKE_ARGS+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS} RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} WRKSRC= ${WRKDIR}/${PORTNAME}-src-${PORTVERSION} PKGMESSAGE= ${WRKSRC}/license.txt PORTDOCS= Readme.txt LICENSE HEADERFILES= sp_func.h sp_func.h sp_events.h MAN1= spflooder.1 spmonitor.1 spread.1 sptuser.1 spuser.1 MAN3= libsp.3 SP_connect.3 SP_disconnect.3 SP_equal_group_ids.3 \ SP_error.3 SP_join.3 SP_leave.3 \ SP_multicast.3 SP_multigroup_multicast.3 \ SP_multigroup_scat_multicast.3 SP_poll.3 SP_receive.3 \ SP_scat_multicast.3 SP_scat_receive.3 .include # bsd.port.mk doesn't allow us to use GNU_CONFIGURE and PERL_CONFIGURE together. PERL_CONFIGURE_ARGS= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib" _MANPAGES+= ${PREFIX}/lib/perl5/${PERL_VERSION}/man/man3/Spread.3 post-configure: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/docs/${PORTNAME}.1 ${WRKSRC}/docs/spmonitor.1 post-build: @cd ${WRKSRC}/perl/Spread && \ ${SETENV} ${CONFIGURE_ENV} ${PERL5} ./Makefile.PL ${PERL_CONFIGURE_ARGS} @cd ${WRKSRC}/perl/Spread && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile @cd ${WRKSRC}/perl/Spread && ${MAKE} @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}.sh pre-install: ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \ ${PREFIX}/etc/rc.d/${PORTNAME}.sh .for f in ${HEADERFILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/include .endfor ${INSTALL_DATA} ${WRKSRC}/sample.spread.conf \ ${PREFIX}/etc/spread.conf.sample .if !exists(${PREFIX}/etc/${PORTNAME}.conf) ${INSTALL_DATA} ${WRKSRC}/sample.spread.conf \ ${PREFIX}/etc/${PORTNAME}.conf .endif ${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip \ ${PREFIX}/etc/spread.access_ip.sample .if !exists(${PREFIX}/etc/spread.access_ip) ${INSTALL_DATA} ${WRKSRC}/sample.spread.access_ip \ ${PREFIX}/etc/spread.access_ip .endif (cd ${WRKSRC}/perl/Spread && ${MAKE} install) ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/perl/Spread/test.pl ${EXAMPLESDIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}/LICENSE .endif @${CAT} ${PKGMESSAGE} @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include ndabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Update to 1.0.4zeising2013-02-042-8/+3
* Change license from X11 to MIT we do not have x11 in the database and x11 is ...bapt2011-09-201-1/+1
* - update iceauth to 1.0.5eadler2011-09-202-3/+5
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* - Please welcome Xorg 7.5.1miwi2011-02-261-3/+0