diff options
Diffstat (limited to 'irc/tirc/Makefile')
-rw-r--r-- | irc/tirc/Makefile | 16 |
1 files changed, 11 insertions, 5 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> |