freebsd-ports/x11-clocks/cairo-clock/Makefile
Daichi GOTO 104e917c81 Stagefy
2014-06-13 10:51:40 +00:00

34 lines
813 B
Makefile

# Created by: chinsan
# $FreeBSD$
PORTNAME= cairo-clock
PORTVERSION= 0.3.4
PORTREVISION= 3
CATEGORIES= x11-clocks net gnome
MASTER_SITES= http://macslow.thepimp.net/projects/cairo-clock/
MAINTAINER= daichi@FreeBSD.org
COMMENT= MacSlow's Cairo-Clock
USE_GNOME= gtk20 intlhack libglade2 librsvg2
USES= pathfix iconv gmake pkgconfig gettext
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${GZIP_CMD} -d ${WRKSRC}/man/cairo-clock.1.gz
@${REINPLACE_CMD} -e 's,.gz,,; s,datadir)\/man,prefix)\/man,' \
${WRKSRC}/man/Makefile.in
post-configure:
.if ${OSVERSION} > 1000000 || ${CC:Mclang} != ""
@${REINPLACE_CMD} -e 's,--export-dynamic,-export-dynamic,' \
${WRKSRC}/src/Makefile
.endif
.include <bsd.port.mk>