1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 0.62

- Remove indefinite article from COMMENT
- Convert to new LIB_DEPENDS format
- Make docs and examples unconditional to stage
  * Remove bsd.port.options.mk, accordingly
- Unmute INSTALL_DATA and CP in post-install target
This commit is contained in:
TAKATSU Tomonari 2014-02-12 08:12:39 +00:00
parent 0df13d9398
commit 0462d5a92a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343867
2 changed files with 11 additions and 17 deletions

View File

@ -2,20 +2,20 @@
# $FreeBSD$
PORTNAME= swfed
PORTVERSION= 0.61
PORTVERSION= 0.62
CATEGORIES= graphics www
MASTER_SITES= SFJP
MASTER_SITE_SUBDIR= ${PORTNAME}/60035
MASTER_SITE_SUBDIR= ${PORTNAME}/60548
PKGNAMEPREFIX= php5-
MAINTAINER= yoya@awm.jp
COMMENT= A PHP extension to edit SWF file
COMMENT= PHP extension to edit SWF file
LICENSE= PHP301
BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c
LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \
png15:${PORTSDIR}/graphics/png
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
libpng15.so:${PORTSDIR}/graphics/png
DEFAULT_PHP_VER= 5
USE_PHP= zlib
@ -29,21 +29,15 @@ PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
PORTDOCS= readme.txt
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/sample/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.endif
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/sample/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${WWWDIR}
@${CP} -R ${WRKDIR}/${DISTNAME}/www/ ${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

View File

@ -1,2 +1,2 @@
SHA256 (swfed-0.61.tar.gz) = 76e28acefc97df5d3d4176cee5987ff31f691f5c70054427d3e08766aea6bad9
SIZE (swfed-0.61.tar.gz) = 454974
SHA256 (swfed-0.62.tar.gz) = da92ef9c4e3b9665bec41a390a502638bcf38a22dc6f742c239d4fde84bd95e8
SIZE (swfed-0.62.tar.gz) = 455070