1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/editors/zoinks/Makefile
2014-02-21 13:36:34 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Mike Lockwood <mike@mikelockwood.com>
# $FreeBSD$
PORTNAME= zoinks
PORTVERSION= 0.3.7
PORTREVISION= 4
CATEGORIES= editors
MASTER_SITES= http://zoinks.mikelockwood.com/download/
MAINTAINER= mike@mikelockwood.com
COMMENT= X11 programmer's editor and development environment
.if defined(WITH_IMLIB)
USE_GNOME= imlib
CONFIGURE_ARGS+= --enable-imlib
.else
CONFIGURE_ARGS+= --disable-imlib
.endif
USE_XORG= xpm
GNU_CONFIGURE= yes
NO_STAGE= yes
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "Zoinks can be built with optional support for calculating image sizes"
@${ECHO_MSG} "and image thumbnail creation for HTML files."
@${ECHO_MSG} "These features require the Gnome imlib library."
@${ECHO_MSG} "Use WITH_IMLIB=yes to enable these features."
@${ECHO_MSG} ""
post-patch:
@${FIND} ${WRKSRC} -name *.xpm | ${XARGS} ${REINPLACE_CMD} -e \
's|^"|(char *)"|g'
.include <bsd.port.mk>