- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
29 lines
642 B
Makefile
29 lines
642 B
Makefile
# Created by: Mathieu Arnold <m@absolight.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Class-DBI-Pg
|
|
PORTVERSION= 0.09
|
|
PORTREVISION= 2
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= CPAN/Class/DMAKI
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Extensions to Class::DBI for PostgreSQL
|
|
|
|
BUILD_DEPENDS= p5-Class-DBI>=0:${PORTSDIR}/databases/p5-Class-DBI \
|
|
p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= perl5
|
|
USE_PERL5= modbuild
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= Changes README
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|