forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
27 lines
603 B
Makefile
27 lines
603 B
Makefile
# Created by: George Reid <greid@ukug.uk.freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= liblug
|
|
PORTVERSION= 1.0.6
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SUNSITE/libs/graphics
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Multi-format graphics manipulation library
|
|
|
|
LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff
|
|
|
|
PLIST_FILES= lib/liblug.a
|
|
USE_XORG= x11
|
|
CFLAGS+= -Wno-return-type
|
|
|
|
WRKSRC= ${WRKDIR}/lug
|
|
MAKEFILE= Makefile.linux
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-DiTIFF|-DiTIFF -DTIFF_VERSION=TIFF_VERSION_CLASSIC|' \
|
|
${WRKSRC}/Makefile.linux
|
|
|
|
.include <bsd.port.mk>
|