1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/comical/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

53 lines
1.2 KiB
Makefile

# New ports collection makefile for: comical
# Date created: 6 June 2005
# Whom: John McAree <john@mcaree.org>
#
# $FreeBSD$
#
PORTNAME= comical
PORTVERSION= 0.8
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= A sequential image viewer
LIB_DEPENDS= unrar.3:${PORTSDIR}/archivers/libunrar
USE_GMAKE= yes
USE_WX= 2.6+
WX_PREMK= yes
WX_UNICODE= yes
PLIST_FILES= bin/comical
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \
s|\`wx-config --cxx\`|${CXX}|; \
s|wx-config|${WX_CONFIG}|; \
s|unrar/libunrar.a u|u|; \
s|-lunrar|-L${LOCALBASE}/lib -lunrar|;' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|; \
s|-D_UNIX|-D_UNIX -DwxUSE_UNICODE|; \
s|CFLAGS =|CFLAGS=${CFLAGS} |; \
s|CPPFLAGS =|CPPFLAGS=${CXXFLAGS} |; \
s|$$(CC)|${CXX}|; \
s|-I../unrar|-I${LOCALBASE}/include/libunrar3|;' \
${WRKSRC}/src/Makefile
@${REINPLACE_CMD} -e 's|gcc|${CC}|; \
s|CFLAGS=|CFLAGS+=|;' \
${WRKSRC}/unzip/Makefile
.if ${WX_VERSION} == "2.8"
@${REINPLACE_CMD} -e 's|frame->SetIcon|//frame->SetIcon|' ${WRKSRC}/src/ComicalApp.cpp
.endif
.include <bsd.port.post.mk>