- Convert to new options framework
- Update WWW to a working URL Approved by: eadler, bapt (mentors, implicit)
This commit is contained in:
parent
c5cbe67da0
commit
b4f3eacf76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303316
2 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue