b3ed337056
Actually reading the Makefiles proved that about one third of them was confused about this already...
26 lines
701 B
Makefile
26 lines
701 B
Makefile
# $OpenBSD: Makefile,v 1.10 2000/02/12 00:43:58 espie Exp $
|
|
|
|
DISTNAME= xfig.3.2.3a
|
|
PKGNAME= xfig-3.2.3a
|
|
CATEGORIES= graphics x11
|
|
MASTER_SITES= ftp://www-epb.lbl.gov/xfig/
|
|
MASTER_SITE_SUBDIR= applications/drawing_tools/xfig
|
|
NEED_VERSION= 1.195
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
LIB_DEPENDS= jpeg.62:${PORTSDIR}/graphics/jpeg \
|
|
Xaw3d.6.1:${PORTSDIR}/x11/Xaw3d
|
|
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig \
|
|
gv:${PORTSDIR}/print/gv
|
|
|
|
USE_IMAKE= yes
|
|
MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \
|
|
XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults \
|
|
XFIGLIBDIR=${PREFIX}/lib/X11/xfig
|
|
|
|
post-patch:
|
|
perl -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/Imakefile
|
|
|
|
.include <bsd.port.mk>
|