15945f8122
to GCC 4.8.3. Part II, Bump PORTREVISIONs. PR: 192025 Tested by: antoine (-exp runs) Approved by: portmgr (implicit)
31 lines
824 B
Makefile
31 lines
824 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= toilet
|
|
PORTVERSION= 0.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://caca.zoy.org/raw-attachment/wiki/toilet/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Enhanced figlet(6)
|
|
|
|
LIB_DEPENDS= libcaca.so:${PORTSDIR}/graphics/libcaca
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --program-transform-name=""
|
|
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:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/tools/caca2tlf ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|