openbsd-ports/print/transfig/Makefile

35 lines
763 B
Makefile

# $OpenBSD: Makefile,v 1.21 2001/11/13 22:13:24 espie Exp $
COMMENT= "tools to convert Xfig's .fig files"
VERSION= 3.2.3d
DISTNAME= transfig.${VERSION}
PKGNAME= transfig-${VERSION}
CATEGORIES= print
NEED_VERSION= 1.496
MASTER_SITES= ftp://www-epb.lbl.gov/xfig/ \
ftp://www-epb.lbl.gov/xfig/previous_versions/
LIB_DEPENDS= jpeg.62::graphics/jpeg \
png.2::graphics/png
RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_FLAGS= LOCALBASE="${LOCALBASE}" X11BASE="${X11BASE}"
FAKE_FLAGS+= ${MAKE_FLAGS} DESTDIR="${WRKINST}"
CONFIGURE_STYLE= imake
FLAVORS= a4
FLAVOR?=
.if ${FLAVOR:L} == "a4"
PATCH_LIST= patch-* a4-*
.endif
.include <bsd.port.mk>