aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/zbgset/Makefile
blob: 89f5ee206f2753f108904046b7e9dc24d642b0f8 (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
36
37
38
39
40
41
42
# New ports collection makefile for: zbgset
# Date created:        24 June 2008
# Whom:                Zane C. Bowers
#
# $FreeBSD$
#

PORTNAME=   zbgset
PORTVERSION=    3.0.0
CATEGORIES= deskutils x11
MASTER_SITES=   http://cpan.org/authors/id/V/VV/VVELOX/
DISTNAME=   ${PORTNAME}-${PORTVERSION}.pl
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER= vvelox@vvelox.net
COMMENT=    A perl program for managing the background

RUN_DEPENDS=    ${SITE_PERL}/Image/Size/FillFullSelect.pm:${PORTSDIR}/graphics/p5-Image-Size-FillFullSelect \
        ${SITE_PERL}/ZConf.pm:${PORTSDIR}/devel/p5-ZConf \
        ${LOCALBASE}/bin/hsetroot:${PORTSDIR}/graphics/hsetroot

USE_PERL5=  yes

NO_WRKSUBDIR=   yes

MAN1=       ${PORTNAME}.1

PLIST_FILES=    bin/${PORTNAME}

post-extract:
    @${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}

do-build:
    @${EXEC} pod2man --section=1 --release=${PORTVERSION} --name=${PORTNAME} --center=${PORTNAME}" user guide" ${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1

do-install:
    @${CP} -v ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
    @${CP} -v ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/${PORTNAME}.1
    @${CHMOD} +x ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>