1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/misc/toilet/Makefile

31 lines
800 B
Makefile
Raw Normal View History

2013-09-02 19:55:48 +00:00
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
PORTNAME= toilet
2012-05-07 00:40:22 +00:00
PORTVERSION= 0.3
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://caca.zoy.org/raw-attachment/wiki/toilet/
2013-12-16 17:26:49 +00:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Enhanced figlet(6)
LIB_DEPENDS= libcaca.so:graphics/libcaca
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name=""
2013-09-02 19:55:48 +00:00
USES= pkgconfig
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -fno-strength-reduce
PORT_VERBS= ${PORTNAME} caca2tlf share/figlet/*tlf
post-patch:
@${REINPLACE_CMD} -e '/CFLAGS=/d;/ac_build_date=/s|=.*|="$$stamp"|'\
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|\$$\^|$${.ALLSRC}|' ${WRKSRC}/doc/Makefile.in
post-install:
2013-09-23 06:11:19 +00:00
@${INSTALL_PROGRAM} ${WRKSRC}/tools/caca2tlf ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>