2010-10-19 04:02:53 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2010/10/19 08:02:56 espie Exp $
|
2004-05-26 09:56:43 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= Perl MVC for web applications
|
2004-05-26 09:56:43 -04:00
|
|
|
|
2006-11-17 11:02:48 -05:00
|
|
|
MODULES= cpan
|
2004-05-26 09:56:43 -04:00
|
|
|
DISTNAME= Maypole-1.4
|
2010-07-13 16:14:21 -04:00
|
|
|
REVISION= 0
|
2006-11-17 11:02:48 -05:00
|
|
|
CATEGORIES= www
|
2010-10-19 04:02:53 -04:00
|
|
|
USE_GROFF = Yes
|
2004-05-26 09:56:43 -04:00
|
|
|
|
|
|
|
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 \
|
2006-11-17 11:02:48 -05:00
|
|
|
::devel/p5-Universal-require \
|
2004-05-26 09:56:43 -04:00
|
|
|
::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>
|