1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/polish/tleenx2/Makefile
Pawel Pekala 6c971867a6 - Fix build on 10+ by respecting CC
- Convert simple patch to REINPLACE_CMD
- Support staging
2013-12-27 19:40:54 +00:00

37 lines
947 B
Makefile

# Created by: Maciek Korzen <eaquer@ceti.pl>
# $FreeBSD$
PORTNAME= tleenx2
PORTVERSION= 20040214
PORTREVISION= 10
CATEGORIES= polish net
MASTER_SITES= SF/tleenx/tleenx2/${DISTNAME}
DISTNAME= TleenX2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Client for polish IM service called Tlen.pl
LIB_DEPENDS= tlen.1:${PORTSDIR}/polish/libtlen
USES= pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
USE_XORG= xscrnsaver
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/TleenX2-${PORTVERSION}
PORTDOCS= README gg.txt sms.txt
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},g; s,gcc,${CC},' \
${WRKSRC}/iksemel/Makefile
@${REINPLACE_CMD} 's,gcc,${CC},' ${WRKSRC}/jabby/Makefile
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>