aboutsummaryrefslogtreecommitdiffstats
path: root/www/bblog
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2012-08-29 13:31:09 +0800
committerbdrewery <bdrewery@FreeBSD.org>2012-08-29 13:31:09 +0800
commit59650e7681e4068527513c2786ecc8a4c4f726fb (patch)
tree99b3ff6e7ae2525e4c3b3236039c4bc741db7c35 /www/bblog
parent8954b8e70a50e2f90f6db502909b745c31b3b8be (diff)
downloadfreebsd-ports-gnome-59650e7681e4068527513c2786ecc8a4c4f726fb.tar.gz
freebsd-ports-gnome-59650e7681e4068527513c2786ecc8a4c4f726fb.tar.zst
freebsd-ports-gnome-59650e7681e4068527513c2786ecc8a4c4f726fb.zip
- Convert to new options framework
- Update WWW to a working URL Approved by: eadler, bapt (mentors, implicit)
Diffstat (limited to 'www/bblog')
-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/