blob: 070aea9563f5d6edcdeb095ef5e5b9434550f7c5 (
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
|
# New ports collection makefile for: jpeg2ps (letter)
# Date created: 30 December 2000
# Whom: Lars Koeller <Lars.Koeller@Uni-Bielefeld.de>
#
# $FreeBSD$
#
PORTNAME= jpeg2ps
PORTVERSION= 1.9
CATEGORIES= graphics converters
MASTER_SITES= http://www.pdflib.com/jpeg2ps/
PKGNAMESUFFIX= -${PAPERSIZE}
MAINTAINER= Lars.Koeller@Uni-Bielefeld.de
PAPERSIZE?= letter
INSTALL_TARGET=
.if ${PAPERSIZE} == a4
post-patch:
${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.input
${SED} "s%CCFLAGS=-O -c%CCFLAGS=-O -c -DA4%" ${WRKSRC}/Makefile.input > ${WRKSRC}/Makefile
${RM} -f ${WRKSRC}/Makefile.input
.endif
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>
|