mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
98bf25875a
PR: 278577 Exp-run by: antoine
39 lines
909 B
Makefile
39 lines
909 B
Makefile
PORTNAME= xfig
|
|
PORTVERSION= 3.2.8b
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/mcj/
|
|
|
|
MAINTAINER= mjl@luckie.org.nz
|
|
COMMENT= Drawing program for X11
|
|
WWW= https://www.xfig.org/
|
|
|
|
LICENSE= xfig
|
|
LICENSE_NAME= xfig public license
|
|
LICENSE_FILE= ${FILESDIR}/LICENSE
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
libtiff.so:graphics/tiff \
|
|
libXaw3d.so:x11-toolkits/Xaw3d
|
|
RUN_DEPENDS= fig2dev:print/fig2dev
|
|
|
|
USES= cpe desktop-file-utils gmake ghostscript:lib jpeg localbase:ldflags \
|
|
tar:xz xorg
|
|
USE_CSTD= gnu89
|
|
USE_XORG= ice sm x11 xaw xext xi xmu xpm xt
|
|
CPE_VENDOR= xfig_project
|
|
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
CFLAGS+= -Wno-return-type
|
|
|
|
CONFLICTS= xfig-3.1* xfig-3.2.[1234]* xfig-[12].*
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/||' ${WRKSRC}/xfig.desktop
|
|
|
|
.include <bsd.port.mk>
|