f78b1814a7
This is in line with what freedesktop.org calls Xaw3d. And this is in preparation to update libXaw3d to the freedesktop.org maintained version. The reason we are doing this is the Slackware version is unmaintained. PR: 285528 Exp-run by: antoine
39 lines
912 B
Makefile
39 lines
912 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/libXaw3d
|
|
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>
|