mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Clarify LICENSE
- Clean up the makefile - Silence patching - Convert makefile echo's to pkg-message
This commit is contained in:
parent
2a3c3501f5
commit
ee7ece749d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402989
2 changed files with 9 additions and 12 deletions
|
@ -11,21 +11,20 @@ DISTNAME= ${PORTNAME}.${PORTVERSION:S/p/dev/}
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Seen-module for the eggdrop IRC bot
|
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
|
BUILD_DEPENDS= eggdrop:${PORTSDIR}/irc/eggdrop
|
||||||
RUN_DEPENDS= eggdrop:${PORTSDIR}/irc/eggdrop
|
RUN_DEPENDS= eggdrop:${PORTSDIR}/irc/eggdrop
|
||||||
|
|
||||||
USES= tcl:85+
|
USES= tcl:85+
|
||||||
|
GNU_CONGFIGURE= yes
|
||||||
WRKSRC= ${WRKDIR}/eggdrop
|
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-tcllib=${LOCALBASE}/lib/libtcl${TCL_VER:S/.//}.so \
|
CONFIGURE_ARGS= --with-tcllib=${LOCALBASE}/lib/libtcl${TCL_VER:S/.//}.so \
|
||||||
--with-tclinc=${TCL_INCLUDEDIR}/tcl.h
|
--with-tclinc=${TCL_INCLUDEDIR}/tcl.h
|
||||||
|
WRKSRC= ${WRKDIR}/eggdrop
|
||||||
MAKE_JOBS_UNSAFE= yes
|
MAKE_JOBS_UNSAFE= yes
|
||||||
GNU_CONGFIGURE= yes
|
|
||||||
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
do-extract:
|
do-extract:
|
||||||
@${RM} -rf ${WRKDIR}
|
@${RM} -rf ${WRKDIR}
|
||||||
|
@ -34,7 +33,7 @@ do-extract:
|
||||||
cd ${WRKSRC}/src/mod && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS}
|
cd ${WRKSRC}/src/mod && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${EXTRACT_ONLY} ${EXTRACT_AFTER_ARGS}
|
||||||
|
|
||||||
post-extract:
|
post-extract:
|
||||||
${REINPLACE_CMD} -e 's|"-g -O2"|"${CFLAGS}"|' \
|
@${REINPLACE_CMD} -e 's|"-g -O2"|"${CFLAGS}"|' \
|
||||||
-e 's|"-g"|"${CFLAGS}"|' \
|
-e 's|"-g"|"${CFLAGS}"|' \
|
||||||
-e 's|"-O2"|"${CFLAGS}"|' \
|
-e 's|"-O2"|"${CFLAGS}"|' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
|
@ -53,9 +52,5 @@ do-install:
|
||||||
${STAGEDIR}${LOCALBASE}/share/eggdrop/language
|
${STAGEDIR}${LOCALBASE}/share/eggdrop/language
|
||||||
${INSTALL_DATA} ${WRKSRC}/src/mod/gseen.mod/gseen.conf \
|
${INSTALL_DATA} ${WRKSRC}/src/mod/gseen.mod/gseen.conf \
|
||||||
${STAGEDIR}${PREFIX}/etc
|
${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>
|
.include <bsd.port.mk>
|
||||||
|
|
2
irc/gseen.mod/files/pkg-message.in
Normal file
2
irc/gseen.mod/files/pkg-message.in
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue