freebsd-ports/x11-clocks/cairo-clock/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

56 lines
1.4 KiB
Makefile

# New ports collection makefile for: cairo-clock
# Date created: 2007/01/16
# Whom: chinsan
#
# $FreeBSD$
#
PORTNAME= cairo-clock
PORTVERSION= 0.3.2
PORTREVISION= 1
CATEGORIES= x11-clocks net gnome
MASTER_SITES= http://macslow.thepimp.net/projects/cairo-clock/
MAINTAINER= chinsan@FreeBSD.org
COMMENT= MacSlow's Cairo-Clock
USE_BZIP2= yes
USE_GNOME= gtk20 intlhack gnomehack libglade2 librsvg2
USE_GCC= 3.3+
USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_LDCONFIG= yes
GZIP_CMD?= /usr/bin/gzip
MAN1= cairo-clock.1
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
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-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in README NEWS AUTHORS TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
@${ECHO} ""
@${ECHO} "************************************************************************"
@${ECHO} " Please note that you need composite extension enabled in X.org or Xgl. "
@${ECHO} "************************************************************************"
.include <bsd.port.mk>