freebsd-ports/print/advi/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: advi
# Date created: 2006-08-13
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $MBSDlabs$
# $FreeBSD$
#
PORTNAME= advi
PORTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/${PORTNAME}/
EXTRACT_SUFX= .tgz
2007-03-28 00:12:03 +02:00
MAINTAINER= stas@FreeBSD.org
COMMENT= Active-DVI viewer
BUILD_DEPENDS= ${CI_DEPEND}:${PORTSDIR}/graphics/ocaml-images \
kpsewhich:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX-base
USE_OCAML= yes
NO_OCAML_RUNDEPENDS=yes
USE_GHOSTSCRIPT=yes
USE_XPM= yes
USE_FREETYPE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= opt
INSTALL_TARGET= installopt installman
CI_DEPEND= ${LOCALBASE}/${OCAML_LIBDIR}/camlimages/ci_core.a
MAN1= advi.1
post-extract:
@${REINPLACE_CMD} -E \
-e 's,^(COPTIONS[[:space:]]*=).*,\1-ccopt "${CFLAGS}",' \
-e 's,^(COPTOPTIONS[[:space:]]*=).*,\1-ccopt "${CFLAGS}",' \
-e 's,^(X11_INCLUDES[[:space:]]*=).*,\1-I${X11BASE}/include,' \
-e 's,install -m 644,\$${BSD_INSTALL_DATA},' \
-e 's,install -m 755,\$${BSD_INSTALL_PROGRAM},' \
${WRKSRC}/Makefile
.include <bsd.port.mk>