aboutsummaryrefslogtreecommitdiffstats
path: root/irc/tirc
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-20 05:21:45 +0800
committerkrion <krion@FreeBSD.org>2004-05-20 05:21:45 +0800
commitd88cc1ce74819d964c46f9c9b4a59dd03db476bb (patch)
tree4b4267a12c5f764fec2e180a073f20e46dab4593 /irc/tirc
parentc836984f2538e15f57647fc61f92dcb25da1184e (diff)
downloadfreebsd-ports-gnome-d88cc1ce74819d964c46f9c9b4a59dd03db476bb.tar.gz
freebsd-ports-gnome-d88cc1ce74819d964c46f9c9b4a59dd03db476bb.tar.zst
freebsd-ports-gnome-d88cc1ce74819d964c46f9c9b4a59dd03db476bb.zip
- Fix MASTER_SITES
- Support PLIST_FILES/PLIST_DIRS PR: ports/66886 Submitted by: Ports Fury
Diffstat (limited to 'irc/tirc')
-rw-r--r--irc/tirc/Makefile16
-rw-r--r--irc/tirc/distinfo4
-rw-r--r--irc/tirc/pkg-plist3
3 files changed, 13 insertions, 10 deletions
diff --git a/irc/tirc/Makefile b/irc/tirc/Makefile
index 7d5fb6595aa4..719a667ca804 100644
--- a/irc/tirc/Makefile
+++ b/irc/tirc/Makefile
@@ -8,23 +8,29 @@
PORTNAME= tirc
PORTVERSION= 1.2
CATEGORIES= irc
-MASTER_SITES= ftp://ftp.mayn.de/pub/unix/network/irc/tirc/
+MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
+DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Token's 'Internet Relay Chat' Client
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= "--with-ansi-colours"
-MAKE_FLAGS= CONF_ARGS="--prefix=${PREFIX}"
+CONFIGURE_ARGS= --with-ansi-colours
+MAKE_ARGS= CONF_ARGS="--prefix=${PREFIX}"
+
MAN1= tirc.1
+PLIST_FILES= bin/tirc %%DATADIR%%/tircrc
+PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e 's:__PREFIX__:${PREFIX}:g' ${WRKSRC}/*.c ${WRKSRC}/*.1
post-install:
${STRIP_CMD} ${PREFIX}/bin/tirc
- ${MKDIR} ${PREFIX}/share/tirc
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/dot.tircrc ${PREFIX}/share/tirc/tircrc
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/dot.tircrc ${DATADIR}/tircrc
.include <bsd.port.mk>
diff --git a/irc/tirc/distinfo b/irc/tirc/distinfo
index 596504c3902c..69b4211ab062 100644
--- a/irc/tirc/distinfo
+++ b/irc/tirc/distinfo
@@ -1,2 +1,2 @@
-MD5 (tirc-1.2.tar.gz) = 0f4b3e6e67830c3a0682c1d17893b5d2
-SIZE (tirc-1.2.tar.gz) = 300089
+MD5 (tirc_1.2.orig.tar.gz) = 0f4b3e6e67830c3a0682c1d17893b5d2
+SIZE (tirc_1.2.orig.tar.gz) = 300089
diff --git a/irc/tirc/pkg-plist b/irc/tirc/pkg-plist
deleted file mode 100644
index c466ff01499e..000000000000
--- a/irc/tirc/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/tirc
-share/tirc/tircrc
-@dirrm share/tirc