- 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
28 lines
711 B
Makefile
28 lines
711 B
Makefile
# Created by: Iouri V. Ivliev
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pfstmo
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/pfstools/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ii@any.com.ru
|
|
COMMENT= Tone mapping operators
|
|
|
|
LIB_DEPENDS= libpfs-1.2.so:${PORTSDIR}/graphics/pfstools \
|
|
libfftw3.so:${PORTSDIR}/math/fftw3 \
|
|
libfftw3f.so:${PORTSDIR}/math/fftw3-float \
|
|
libgsl.so:${PORTSDIR}/math/gsl
|
|
|
|
PFS_CPPFLAGS= -I${LOCALBASE}/include
|
|
PFS_LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV+= CPPFLAGS="${PFS_CPPFLAGS} ${DEBUG_FLAGS}" \
|
|
LDFLAGS="${PFS_LDFLAGS}"
|
|
|
|
USES= gmake pkgconfig compiler:openmp
|
|
|
|
.include <bsd.port.mk>
|