37 lines
977 B
Makefile
37 lines
977 B
Makefile
# New ports collection makefile for: p5-MyObject
|
|
# Date created: 14 November 1999
|
|
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
|
|
#
|
|
# $FreeBSD: /tmp/pcvs/ports/databases/p5-MyObject/Attic/Makefile,v 1.8 2000-11-13 13:32:57 jedgar Exp $
|
|
#
|
|
|
|
PORTNAME= MyObject
|
|
PORTVERSION= 1.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= http://www.frontierworld.com/perl/
|
|
PKGNAMEPREFIX= p5-
|
|
DISTNAME= MyObject
|
|
EXTRACT_SUFX= .pm
|
|
|
|
MAINTAINER= jedgar@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Mysql.pm:${PORTSDIR}/databases/p5-Mysql
|
|
|
|
USE_PERL5= yes
|
|
POD2MAN?= /usr/bin/pod2man
|
|
NO_BUILD= yes
|
|
|
|
MAN3= MyObject.3
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}
|
|
@(cd ${WRKSRC}; ${POD2MAN} MyObject.pm > MyObject.3)
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/MyObject.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
|
|
${INSTALL_MAN} ${WRKSRC}/MyObject.3 ${PREFIX}/man/man3
|
|
|
|
.include <bsd.port.mk>
|