mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Update to 1.5.16
- Add OPTIONS: IMAGEMAGICK Changes: http://forum.coppermine-gallery.net/index.php/topic,73460.0.html http://coppermine-gallery.net/archive.php
This commit is contained in:
parent
e56e15630f
commit
4467e9c0bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283742
@ -6,30 +6,34 @@
|
||||
#
|
||||
|
||||
PORTNAME= coppermine
|
||||
PORTVERSION= 1.4.26
|
||||
PORTVERSION= 1.5.16
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= SF/${PORTNAME}/Coppermine/1.4.x%20%28outdated%29/
|
||||
MASTER_SITES= SF/${PORTNAME}/Coppermine/${PORTVERSION:R}.x/
|
||||
DISTNAME= cpg${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A web picture gallery script
|
||||
|
||||
OPTIONS= IMAGEMAGICK "Use ImageMagick instead of php5-gd" off
|
||||
|
||||
USE_PHP= mysql pcre
|
||||
USE_ZIP= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
WRKSRC= ${WRKDIR}/cpg${PORTVERSION:R:R}${PORTVERSION:R:E}x
|
||||
DOCFILES= CHANGELOG.txt COPYING.txt README.txt
|
||||
|
||||
SUB_FILES+= pkg-message
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined (WITH_IMAGEMAGICK)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick
|
||||
.else
|
||||
USE_PHP+= gd
|
||||
.endif
|
||||
|
||||
NO_BUILD= yes
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
WRKSRC= ${WRKDIR}/cpg14x
|
||||
DOCFILES= CHANGELOG COPYING README.txt
|
||||
|
||||
SUB_FILES+= pkg-message
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "By default, coppermine depends on PHP with GD support."
|
||||
@ -37,17 +41,16 @@ pre-everything::
|
||||
@${ECHO_MSG} ""
|
||||
|
||||
post-extract:
|
||||
@${CHMOD} -R o-w ${WRKSRC}
|
||||
@${CHMOD} -R o-w ${WRKSRC}/
|
||||
|
||||
do-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${MKDIR} ${DOCSDIR}/
|
||||
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
|
||||
.endif
|
||||
@cd ${WRKSRC} && ${RM} ${DOCFILES}
|
||||
-${MKDIR} ${WWWDIR}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR})
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
||||
cd ${WRKSRC}/ && ${RM} ${DOCFILES}
|
||||
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${WWWDIR}/
|
||||
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (cpg1.4.26.zip) = a051a85c69b5e0f99139c93cb8c484db4d90bbac8ba4f74cba7d24bef9a6b3d4
|
||||
SIZE (cpg1.4.26.zip) = 4202964
|
||||
SHA256 (cpg1.5.16.zip) = 9b3acb11193de155ffb618175943835c8749009b5d21e17a2f231d42972dd8a5
|
||||
SIZE (cpg1.5.16.zip) = 19026364
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user