ba8add3ebb
COMMENT-*/ERRORS/NO_REGRESS/PERMIT_*/REGRESS_IS_INTERACTIVE Change '.include "bsd.port.mk"' to '.include <bsd.port.mk>' while here (ok naddy@)
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2007/09/15 20:38:24 merdely Exp $
|
|
|
|
COMMENT= Perl MVC for web applications
|
|
|
|
MODULES= cpan
|
|
DISTNAME= Maypole-1.4
|
|
PKGNAME= p5-${DISTNAME}p0
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= Sam Smith <S@msmith.net>
|
|
|
|
# Same as Perl
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/}
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= ::databases/p5-Class-DBI-AbstractSearch \
|
|
::databases/p5-Class-DBI-AsForm \
|
|
::databases/p5-Class-DBI-FromCGI \
|
|
::databases/p5-Class-DBI-Loader \
|
|
::databases/p5-Class-DBI-Loader-Relationship \
|
|
::databases/p5-Class-DBI-Pager \
|
|
::databases/p5-Class-DBI-Plugin-RetrieveAll \
|
|
::databases/p5-Class-DBI-SQLite \
|
|
::devel/p5-Universal-require \
|
|
::devel/p5-Universal-moniker \
|
|
::textproc/p5-Template \
|
|
::www/p5-libapreq \
|
|
::www/p5-CGI-Untaint \
|
|
::www/p5-URI
|
|
|
|
# in case other database bindings are ever added, make this MULTI_PACKAGES
|
|
RUN_DEPENDS+= ::databases/p5-Class-DBI-mysql
|
|
|
|
post-install:
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Maypole
|
|
@${INSTALL_DATA} ${WRKSRC}/ex/BeerDB.pm ${PREFIX}/share/examples/p5-Maypole/BeerDB.pm
|
|
@cp -R ${WRKSRC}/templates ${PREFIX}/share/examples/p5-Maypole
|
|
|
|
.include <bsd.port.mk>
|