summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-08-29 05:31:09 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-08-29 05:31:09 +0000
commitb4f3eacf7642f50c92b898f98bb8780a96698632 (patch)
tree99b3ff6e7ae2525e4c3b3236039c4bc741db7c35 /www
parent- Update to 1.0.11 (diff)
- Convert to new options framework
- Update WWW to a working URL Approved by: eadler, bapt (mentors, implicit)
Notes
Notes: svn path=/head/; revision=303316
Diffstat (limited to 'www')
-rw-r--r--www/bblog/Makefile11
-rw-r--r--www/bblog/pkg-descr2
2 files changed, 7 insertions, 6 deletions
diff --git a/www/bblog/Makefile b/www/bblog/Makefile
index 43fdc8cbe892..be6de69825c5 100644
--- a/www/bblog/Makefile
+++ b/www/bblog/Makefile
@@ -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
diff --git a/www/bblog/pkg-descr b/www/bblog/pkg-descr
index dfe6e3714a00..3284c4b795f6 100644
--- a/www/bblog/pkg-descr
+++ b/www/bblog/pkg-descr
@@ -7,4 +7,4 @@ Perhaps bBlog's most distinctive feature is that it is built around a
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/