svn commit: r402989 - in head/irc/gseen.mod: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Dec 4 14:36:42 UTC 2015
Author: amdmi3
Date: Fri Dec 4 14:36:40 2015
New Revision: 402989
URL: https://svnweb.freebsd.org/changeset/ports/402989
Log:
- Clarify LICENSE
- Clean up the makefile
- Silence patching
- Convert makefile echo's to pkg-message
Added:
head/irc/gseen.mod/files/pkg-message.in (contents, props changed)
Modified:
head/irc/gseen.mod/Makefile
Modified: head/irc/gseen.mod/Makefile
==============================================================================
--- head/irc/gseen.mod/Makefile Fri Dec 4 14:16:13 2015 (r402988)
+++ head/irc/gseen.mod/Makefile Fri Dec 4 14:36:40 2015 (r402989)
@@ -11,21 +11,20 @@ DISTNAME= ${PORTNAME}.${PORTVERSION:S/p/
MAINTAINER= ports at FreeBSD.org
COMMENT= Seen-module for the eggdrop IRC bot
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
-EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/irc/eggdrop:extract
+EXTRACT_DEPENDS=${NONEXISTENT}:${PORTSDIR}/irc/eggdrop:extract
BUILD_DEPENDS= eggdrop:${PORTSDIR}/irc/eggdrop
RUN_DEPENDS= eggdrop:${PORTSDIR}/irc/eggdrop
USES= tcl:85+
-
-WRKSRC= ${WRKDIR}/eggdrop
-
+GNU_CONGFIGURE= yes
CONFIGURE_ARGS= --with-tcllib=${LOCALBASE}/lib/libtcl${TCL_VER:S/.//}.so \
--with-tclinc=${TCL_INCLUDEDIR}/tcl.h
-
+WRKSRC= ${WRKDIR}/eggdrop
MAKE_JOBS_UNSAFE= yes
-GNU_CONGFIGURE= yes
+
+SUB_FILES= pkg-message
do-extract:
@${RM} -rf ${WRKDIR}
@@ -34,7 +33,7 @@ do-extract:
cd ${WRKSRC}/src/mod && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS}
post-extract:
- ${REINPLACE_CMD} -e 's|"-g -O2"|"${CFLAGS}"|' \
+ @${REINPLACE_CMD} -e 's|"-g -O2"|"${CFLAGS}"|' \
-e 's|"-g"|"${CFLAGS}"|' \
-e 's|"-O2"|"${CFLAGS}"|' \
${WRKSRC}/configure
@@ -53,9 +52,5 @@ do-install:
${STAGEDIR}${LOCALBASE}/share/eggdrop/language
${INSTALL_DATA} ${WRKSRC}/src/mod/gseen.mod/gseen.conf \
${STAGEDIR}${PREFIX}/etc
- @${ECHO_MSG} "Please add the line"
- @${ECHO_MSG} "source ${PREFIX}/etc/gseen.conf"
- @${ECHO_MSG} "at the end of your eggdrop config file"
- @${ECHO_MSG} "and .rehash your bot"
.include <bsd.port.mk>
Added: head/irc/gseen.mod/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/gseen.mod/files/pkg-message.in Fri Dec 4 14:36:40 2015 (r402989)
@@ -0,0 +1,2 @@
+Please add the line source %%PREFIX%%/etc/gseen.conf at the end of
+your eggdrop config file and .rehash your bot
More information about the svn-ports-head
mailing list