openbsd-ports/news/p5-Gateway/Makefile
avsm b3a411eece Initial import of p5-Gateway-0.42
Based on a tarball from Shell Hung <i@shellhung.org>

--
(snip from DESCR)
News::Gateway is *not* a robomoderator or gateway in and of itself.
Rather, it's a toolkit for *building* robomoderators and gateways
that attempts to take care of all of the nitpicking details for you
and drastically decrease the amount of code you have to write.
2001-02-22 19:47:09 +00:00

34 lines
918 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2001/02/22 19:47:09 avsm Exp $
DISTNAME= Gateway-0.42
PKGNAME= p5-${DISTNAME}
CATEGORIES= news perl5
NEED_VERSION= 1.352
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= News
MAINTAINER= Shell Hung <i@shellhung.org>
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl
BUILD_DEPENDS= ${PERL_MODULES}/PGP/Sign.pm::security/p5-PGP-Sign \
${PERL_MODULES}/Net/NNTP.pm::net/p5-libnet \
${PERL_MODULES}/News/Article.pm::news/p5-News-Article
RUN_DEPENDS= ${BUILD_DEPENDS}
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= perl
# install example files
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Gateway
.for i in listgate listgate.readme raccpost listgate.m4 raccmod racrmod
${INSTALL_DATA} ${WRKSRC}/examples/$i \
${PREFIX}/share/examples/p5-Gateway
.endfor
.include <bsd.port.mk>