svn commit: r303316 - head/www/bblog
Bryan Drewery
bdrewery at FreeBSD.org
Wed Aug 29 05:31:10 UTC 2012
Author: bdrewery
Date: Wed Aug 29 05:31:09 2012
New Revision: 303316
URL: http://svn.freebsd.org/changeset/ports/303316
Log:
- Convert to new options framework
- Update WWW to a working URL
Approved by: eadler, bapt (mentors, implicit)
Modified:
head/www/bblog/Makefile
head/www/bblog/pkg-descr
Modified: head/www/bblog/Makefile
==============================================================================
--- head/www/bblog/Makefile Wed Aug 29 04:37:47 2012 (r303315)
+++ head/www/bblog/Makefile Wed Aug 29 05:31:09 2012 (r303316)
@@ -27,20 +27,21 @@ SUB_FILES= pkg-message
SUB_LIST= BBLOGURL=${BBLOGURL} BBLOGDIR=${BBLOGDIR}
PLIST_SUB= WWWDOCROOT=${WWWDOCROOT} BBLOGURL=${BBLOGURL}
-OPTIONS= GD "With GD Support" on \
- IMAGICK "With ImageMagick Support" off
+OPTIONS_DEFINE= GD IMAGICK
+OPTIONS_DEFAULT=GD
+IMAGICK_DESC= ${IMAGEMAGICK_DESC}
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_GD)
+.if ${PORT_OPTIONS:MGD}
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS}
.endif
-.if defined(WITH_IMAGICK)
+.if ${PORT_OPTIONS:MIMAGICK}
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/${imagick_DEPENDS}
.endif
-.if defined(WITHOUT_GD) && !defined(WITH_IMAGICK)
+.if empty(PORT_OPTIONS:MGD) && empty(PORT_OPTIONS:MIMAGICK)
pre-patch:
@${ECHO_CMD} "Without GD or ImageMagick support. No thumbnails will be generated at all."
.endif
Modified: head/www/bblog/pkg-descr
==============================================================================
--- head/www/bblog/pkg-descr Wed Aug 29 04:37:47 2012 (r303315)
+++ head/www/bblog/pkg-descr Wed Aug 29 05:31:09 2012 (r303316)
@@ -7,4 +7,4 @@ Perhaps bBlog's most distinctive feature
templating system called Smarty, which makes customizing your blog as easy
as editing any web page, no programming skills required.
-WWW: http://www.bblog.com/
+WWW: http://sourceforge.net/projects/bblog/
More information about the svn-ports-all
mailing list