freebsd-ports/graphics/jpeg2ps-letter/Makefile

42 lines
907 B
Makefile
Raw Normal View History

# 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
PORTREVISION= 2
CATEGORIES= graphics converters
MASTER_SITES= http://www.pdflib.com/fileadmin/pdflib/products/more/jpeg2ps/
2001-02-05 16:57:19 +01:00
PKGNAMESUFFIX= -${PAPERSIZE}
MAINTAINER= ports@FreeBSD.org
2003-02-21 13:17:17 +01:00
COMMENT= Converter for JPEG compressed images to PostScript Level 2
MAKE_ARGS+= CFLAGS="-c ${CFLAGS}" LD="${CC}"
MAN1= jpeg2ps.1
PLIST_FILES= bin/jpeg2ps
PAPERSIZE?= letter
2004-02-09 03:23:02 +01:00
.if !defined(NOPORTDOCS)
PORTDOCS= jpeg2ps.txt
.endif
2004-02-09 03:23:02 +01:00
.if ${PAPERSIZE} == a4
CFLAGS+= -DA4
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
2002-12-24 07:23:40 +01:00
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>