2003-10-06 12:37:31 +00:00
|
|
|
# New ports collection makefile for: zoinks
|
|
|
|
# Date created: 26 July 2003
|
|
|
|
# Whom: Mike Lockwood <mike@mikelockwood.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= zoinks
|
2003-10-27 14:44:53 +00:00
|
|
|
PORTVERSION= 0.3.7
|
2010-05-31 02:01:56 +00:00
|
|
|
PORTREVISION= 4
|
2003-10-06 12:37:31 +00:00
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= http://zoinks.mikelockwood.com/download/
|
|
|
|
|
|
|
|
MAINTAINER= mike@mikelockwood.com
|
|
|
|
COMMENT= An X11 programmer's editor and development environment
|
|
|
|
|
|
|
|
.if defined(WITH_IMLIB)
|
|
|
|
USE_GNOME= imlib
|
|
|
|
CONFIGURE_ARGS+= --enable-imlib
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-imlib
|
|
|
|
.endif
|
|
|
|
|
2004-07-11 10:03:33 +00:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2008-03-24 13:03:55 +00:00
|
|
|
USE_XORG= xpm
|
2003-10-27 14:44:53 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2003-10-06 12:37:31 +00:00
|
|
|
|
|
|
|
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} ""
|
|
|
|
|
2007-11-05 10:04:15 +00:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name *.xpm | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|^"|(char *)"|g'
|
2007-10-02 05:36:42 +00:00
|
|
|
|
2007-11-05 10:04:15 +00:00
|
|
|
.include <bsd.port.mk>
|