aboutsummaryrefslogtreecommitdiffstats
path: root/print/cdlabelgen/Makefile
blob: d19f82a537870b7055d2c90007f222a3dd3517d0 (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
# New ports collection makefile for:    cdlabelgen
# Date created:     Tue Jun 23 00:19:55 MET DST 1999
# Whom:         Juergen Lock <nox@jelal.kn-bremen.de>
#
# $FreeBSD$
#

PORTNAME=   cdlabelgen
PORTVERSION=    4.1.0
CATEGORIES= print perl5
MASTER_SITES=   http://www.aczoom.com/pub/tools/
EXTRACT_SUFX=   .tgz

MAINTAINER= nox@FreeBSD.org
COMMENT=    Generate postscript for frontcards and traycards for CDs

MAN1=       cdlabelgen.1
MANCOMPRESSED=  no

USE_PERL5=  yes
MAKE_ARGS=  BASE_DIR="${PREFIX}" \
        LIB_DIR="${DATADIR}" \
        INSTALL="${INSTALL_SCRIPT}" \
        INSTALL_DIR="${MKDIR}" \
        INSTALL_FILE="${INSTALL_DATA}" \
        INSTALL_MAN="${INSTALL_MAN}" \
        MAN_DIR="${PREFIX}/man"

do-build:
    ${PERL5} -i.bak -p -e "if (1 .. 1) {s-^#!/usr/bin/perl-#!${PERL}-;}" ${WRKSRC}/cdlabelgen

.include <bsd.port.mk>