aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-23 14:11:19 +0800
committerbapt <bapt@FreeBSD.org>2013-09-23 14:11:19 +0800
commit7d322246618fd02dc1ddcbd6935737f6f156a166 (patch)
treee689e9f20fc252a01f2106116824873e1ad65374
parent8c926342aaccd13f34dc75572ceac3f1deb14e1a (diff)
downloadfreebsd-ports-gnome-7d322246618fd02dc1ddcbd6935737f6f156a166.tar.gz
freebsd-ports-gnome-7d322246618fd02dc1ddcbd6935737f6f156a166.tar.zst
freebsd-ports-gnome-7d322246618fd02dc1ddcbd6935737f6f156a166.zip
Use stage
-rw-r--r--misc/toilet/Makefile6
-rw-r--r--misc/toilet/pkg-plist1
2 files changed, 3 insertions, 4 deletions
diff --git a/misc/toilet/Makefile b/misc/toilet/Makefile
index d179b92d56b6..177ad889e331 100644
--- a/misc/toilet/Makefile
+++ b/misc/toilet/Makefile
@@ -10,7 +10,7 @@ MASTER_SITES= http://caca.zoy.org/raw-attachment/wiki/toilet/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Enhanced figlet(6)
-LIB_DEPENDS= caca.0:${PORTSDIR}/graphics/libcaca
+LIB_DEPENDS= libcaca.so:${PORTSDIR}/graphics/libcaca
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name=""
@@ -18,16 +18,14 @@ USES= pkgconfig
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -fno-strength-reduce
-MAN1= ${PORTNAME}.1
PORT_VERBS= ${PORTNAME} caca2tlf share/figlet/*tlf
-NO_STAGE= yes
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 ${PREFIX}/bin/
+ @${INSTALL_PROGRAM} ${WRKSRC}/tools/caca2tlf ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
diff --git a/misc/toilet/pkg-plist b/misc/toilet/pkg-plist
index 7313e0fa6f26..88519b5e5fa3 100644
--- a/misc/toilet/pkg-plist
+++ b/misc/toilet/pkg-plist
@@ -1,5 +1,6 @@
bin/caca2tlf
bin/toilet
+man/man1/toilet.1.gz
share/figlet/ascii12.tlf
share/figlet/ascii9.tlf
share/figlet/bigascii12.tlf