diff options
author | cy <cy@FreeBSD.org> | 2002-09-14 09:39:27 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2002-09-14 09:39:27 +0800 |
commit | 110ed4b6a00df12782f165bf2c8e01ec59d9f49f (patch) | |
tree | 71c583357795cbc025470fd9928428496faaeda2 /x11-wm/fvwm2-devel/Makefile | |
parent | a61ad777e520b4264d72fba2ee6d0def17c43850 (diff) | |
download | freebsd-ports-gnome-110ed4b6a00df12782f165bf2c8e01ec59d9f49f.tar.gz freebsd-ports-gnome-110ed4b6a00df12782f165bf2c8e01ec59d9f49f.tar.zst freebsd-ports-gnome-110ed4b6a00df12782f165bf2c8e01ec59d9f49f.zip |
Enable PNG support.
PR: 42721
Submitted by: adam@vectors.cx
Diffstat (limited to 'x11-wm/fvwm2-devel/Makefile')
-rw-r--r-- | x11-wm/fvwm2-devel/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-wm/fvwm2-devel/Makefile b/x11-wm/fvwm2-devel/Makefile index 976080d00e1d..979ff2c49227 100644 --- a/x11-wm/fvwm2-devel/Makefile +++ b/x11-wm/fvwm2-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= fvwm PORTVERSION= 2.5.3 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \ http://www.fvwm.org/generated/icon_download/ @@ -46,6 +47,12 @@ CONFIGURE_ARGS+= --disable-sm CONFIGURE_ARGS+= --disable-shape .endif +.if !defined(WITHOUT_PNG) +LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png +CONFIGURE_ARGS+= --with-png --with-png-includes=${LOCALBASE}/include \ + --with-png-library=${LOCALBASE}/lib +.endif + PLIST_SUB+= FVWM_VERSION="${PORTVERSION}" .if ${HAVE_GNOME:Mimlib}!="" @@ -77,7 +84,8 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \ - ${WRKSRC}/modules/FvwmM4/FvwmM4.c + ${WRKSRC}/modules/FvwmM4/FvwmM4.c \ + ${WRKSRC}/configure post-install: @${INSTALL_DATA} ${WRKSRC}/sample.fvwmrc/system.fvwm2rc \ |