aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-MyObject/Makefile
blob: 2b2f93d354ab0026ffab8eb2a6c645e349fe28a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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.5 2000-05-08 15:37:24 jedgar Exp $
#

PORTNAME=   MyObject
PORTVERSION=    1.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>