mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 07:19:16 -04:00
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= swfed
|
|
PORTVERSION= 0.62
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics www
|
|
MASTER_SITES= SFJP
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/60548
|
|
PKGNAMEPREFIX= php5-
|
|
|
|
MAINTAINER= yoya@awm.jp
|
|
COMMENT= PHP extension to edit SWF file
|
|
|
|
LICENSE= PHP301
|
|
|
|
BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c
|
|
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
|
|
libpng15.so:${PORTSDIR}/graphics/png
|
|
|
|
DEFAULT_PHP_VER= 5
|
|
USE_PHP= zlib
|
|
USE_PHPEXT= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
CONFIGURE_ARGS= --with-png-dir=${LOCALBASE} --with-gif-dir=${LOCALBASE}
|
|
|
|
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
|
|
|
PORTDOCS= readme.txt
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/sample/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
|
@${MKDIR} ${STAGEDIR}${WWWDIR}
|
|
${CP} -R ${WRKDIR}/${DISTNAME}/www/ ${STAGEDIR}${WWWDIR}
|
|
|
|
x-generate-plist: stage
|
|
${FIND} ${STAGEDIR}${WWWDIR} -type f | ${SORT} | ${SED} -e 's,${STAGEDIR}${WWWDIR},%%WWWDIR%%,g' > pkg-plist.new
|
|
${FIND} ${STAGEDIR}${WWWDIR} -type d -depth | ${SORT} -r | ${SED} -e 's,${STAGEDIR}${WWWDIR},@dirrm %%WWWDIR%%,g' >> pkg-plist.new
|
|
${ECHO} '@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%' >> pkg-plist.new
|
|
|
|
.include <bsd.port.mk>
|