aboutsummaryrefslogtreecommitdiffstats
path: root/print/cdlabelgen/Makefile
blob: e61ebee3a273f768d3272145c7b9f536a7f7084d (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
# Created by: Juergen Lock <nox@jelal.kn-bremen.de>
# $FreeBSD$

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

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

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       perl5 tar:tgz shebangfix
SHEBANG_FILES=  cdlabelgen
NO_ARCH=    yes
NO_BUILD=   yes
MAKE_ARGS=  BASE_DIR="${STAGEDIR}${PREFIX}" \
        LIB_DIR="${STAGEDIR}${DATADIR}" \
        INSTALL="${INSTALL_SCRIPT}" \
        INSTALL_DIR="${MKDIR}" \
        INSTALL_FILE="${INSTALL_DATA}" \
        INSTALL_MAN="${INSTALL_MAN}" \
        MAN_DIR="${STAGEDIR}${PREFIX}/man"

post-extract:
    @${SED} -ne '5,35 {s|# *||;p;}' ${WRKSRC}/${PORTNAME} > ${WRKSRC}/COPYING

.include <bsd.port.mk>