forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
156 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
# $NetBSD: Makefile,v 1.36 2014/01/11 14:42:01 adam Exp $ | ||
|
||
DISTNAME= eggdrop1.6.21 | ||
PKGNAME= eggdrop-1.6.21 | ||
#KGREVISION= 1 | ||
PKGREVISION= 2 | ||
DISTNAME= eggdrop-1.8.2 | ||
CATEGORIES= chat | ||
MASTER_SITES= ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/ | ||
EXTRACT_SUFX= .tar.bz2 | ||
MASTER_SITES= https://ftp.eggheads.org/pub/eggdrop/source/1.8/ | ||
EXTRACT_SUFX= .tar.gz | ||
|
||
MAINTAINER= [email protected] | ||
HOMEPAGE= http://www.eggheads.org/ | ||
|
@@ -20,55 +17,40 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | |
CONFIGURE_ENV+= TCLLIB="${PREFIX}/lib" TCLINC="${PREFIX}/include" | ||
|
||
.include "../../mk/bsd.prefs.mk" | ||
.if !empty(PKGSRC_COMPILER:Msunpro) | ||
# fix for PR#44382 | ||
CONFIGURE_ENV+= ac_cv_c_inline= | ||
.endif | ||
|
||
EGDIR= ${PREFIX}/share/examples/eggdrop | ||
CONF_FILES= ${EGDIR}/eggdrop.conf ${PKG_SYSCONFDIR}/eggdrop.conf | ||
|
||
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 | ||
INSTALLATION_DIRS+= lib/eggdrop | ||
INSTALLATION_DIRS+= share/doc | ||
INSTALLATION_DIRS+= share/eggdrop | ||
INSTALLATION_DIRS+= share/examples/eggdrop | ||
|
||
post-patch: | ||
cd ${WRKSRC} && ${SED} -e 's,modules/,${PREFIX}/lib/eggdrop/,' \ | ||
-e 's,source scripts/,source ${PREFIX}/share/eggdrop/scripts/,' \ | ||
-e 's,set help-path .*,set help-path "${PREFIX}/share/eggdrop/help/",' \ | ||
< eggdrop.conf > eggdrop.conf.dist.new | ||
|
||
post-configure: | ||
cd ${WRKSRC} && ${MAKE} config | ||
|
||
do-install: do-install-program | ||
do-install-program: | ||
${INSTALL_PROGRAM} ${WRKSRC}/eggdrop ${DESTDIR}${PREFIX}/bin/ | ||
${INSTALL_MAN} ${WRKSRC}/doc/man1/eggdrop.1 \ | ||
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ | ||
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} | ||
${INSTALL_DATA} ${WRKSRC}/eggdrop.conf.dist.new \ | ||
${DESTDIR}${EGDIR}/eggdrop.conf | ||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/eggdrop/html | ||
cd ${WRKSRC}/doc/html && ${INSTALL_DATA} *.html \ | ||
${DESTDIR}${PREFIX}/share/doc/eggdrop/html | ||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/eggdrop | ||
cd ${WRKSRC}/doc && ${INSTALL_DATA} BANS BOTNET FIRST-SCRIPT MODULES \ | ||
PARTYLINE USERS TRICKS TEXT-SUBSTITUTIONS tcl-commands.doc \ | ||
${DESTDIR}${PREFIX}/share/doc/eggdrop | ||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop | ||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/help | ||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/language | ||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/scripts | ||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/help/msg | ||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/help/set | ||
${INSTALL_DATA} ${WRKSRC}/language/core.*.lang \ | ||
${DESTDIR}${PREFIX}/share/eggdrop/language/ | ||
cd ${WRKSRC}/help && ${INSTALL_DATA} cmds1.help cmds2.help core.help \ | ||
${DESTDIR}${PREFIX}/share/eggdrop/help/ | ||
cd ${WRKSRC}/help/set && ${INSTALL_DATA} cmds1.help \ | ||
${DESTDIR}${PREFIX}/share/eggdrop/help/set/ | ||
cd ${WRKSRC}/scripts && ${INSTALL_DATA} CONTENTS *.tcl autobotchk \ | ||
botchk weed ${DESTDIR}${PREFIX}/share/eggdrop/scripts/ | ||
cd "${WRKSRC}" && ${SETENV} ${MAKE_ENV} ${MAKE} DEST=${WRKDIR}/eggdrop install | ||
# Makefile has already used bsdinstall so permissions are set correctly | ||
cp -fr ${WRKDIR}/eggdrop/scripts ${DESTDIR}${PREFIX}/share/eggdrop/ | ||
cp -fr ${WRKDIR}/eggdrop/help ${DESTDIR}${PREFIX}/share/eggdrop/ | ||
cp -fr ${WRKDIR}/eggdrop/language ${DESTDIR}${PREFIX}/share/eggdrop/ | ||
cp -fr ${WRKDIR}/eggdrop/eggdrop ${DESTDIR}${PREFIX}/bin/ | ||
cp -fr ${WRKDIR}/eggdrop/doc ${DESTDIR}${PREFIX}/share/doc/eggdrop | ||
mv -f ${DESTDIR}${PREFIX}/share/doc/eggdrop/man1/* ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1/ | ||
${INSTALL_DATA} ${WRKSRC}/eggdrop.conf.dist.new ${DESTDIR}${EGDIR}/eggdrop.conf | ||
|
||
.include "../../lang/tcl/buildlink3.mk" | ||
.include "../../devel/zlib/buildlink3.mk" | ||
.include "../../security/openssl/buildlink3.mk" | ||
.include "../../mk/bsd.pkg.mk" | ||
|
||
.if defined(NOPIC) | ||
|
@@ -78,11 +60,6 @@ BUILD_TARGET= eggdrop | |
PLIST.dynamic= yes | ||
do-install: do-install-modules | ||
do-install-modules: | ||
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/eggdrop | ||
cd ${WRKSRC} && ${INSTALL_DATA} assoc.so blowfish.so channels.so \ | ||
compress.so console.so ctcp.so dns.so filesys.so irc.so notes.so \ | ||
seen.so server.so share.so transfer.so uptime.so wire.so \ | ||
${INSTALL_LIB} ${WRKDIR}/eggdrop/modules/* \ | ||
${DESTDIR}${PREFIX}/lib/eggdrop | ||
cd ${WRKSRC}/src/mod && ${FIND} . -name "*.lang" -exec ${INSTALL_DATA} "{}" \ | ||
${DESTDIR}${PREFIX}/share/eggdrop/language ";" | ||
.endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,6 @@ | ||
$NetBSD: distinfo,v 1.17 2015/11/03 01:20:18 agc Exp $ | ||
|
||
SHA1 (eggdrop1.6.21.tar.bz2) = 98ce7220c8aff19d2f8406fcc52aa1807aa0de01 | ||
RMD160 (eggdrop1.6.21.tar.bz2) = 1006dfd6a6e735500c2b484eb3061f1d2dfd20f8 | ||
SHA512 (eggdrop1.6.21.tar.bz2) = 9fd9a86c1c4b59a47a5eed4e2306e829a01bac2ad29e990ca9c0ec630d5814fd649a9216dae9ce49f734e3ac1728beb4f479ca10af583bd513f43bbbea23a653 | ||
Size (eggdrop1.6.21.tar.bz2) = 999211 bytes | ||
SHA1 (patch-aa) = 555c7e7529643eb0e0fec0388e8767047ec8b984 | ||
SHA1 (patch-ab) = c43cbe9586c6a05114a3ff21eb5fe5b806e8bb05 | ||
SHA1 (patch-ac) = c71d67618a5b53a3de2f3041ed8fa098a89e4471 | ||
SHA1 (patch-ad) = 9904f090a2a942a7442b1950489db0ae68a6e294 | ||
SHA1 (patch-ae) = bdbb616282b7dc643182a35c606401850b33fdca | ||
SHA1 (patch-af) = 8f314d65d1a396b85e17400ee046f2ad4324a690 | ||
SHA1 (patch-ag) = 0e69d8d867af7c1e3bb841e4fb06452f5cc1393d | ||
SHA1 (patch-ah) = a5360c748e16cbc3d6ae4f2968799e96007971f1 | ||
SHA1 (patch-ai) = 77743bdf5fe790826159ffbb9246132f74a5fe38 | ||
SHA1 (patch-ak) = 92f269a3f382a9f917d7e58c2cee5bb1d500ab6d | ||
SHA1 (patch-al) = 0b0438be382d9d9e0115235fd469bcded6679e3b | ||
SHA1 (patch-src_match.c) = ad5461aade0b66cb6a531f18a624c248855504fe | ||
SHA1 (patch-src_net.c) = caed97db5080c49a56ce0d223d7374a95435fb90 | ||
SHA1 (patch-src_proto.h) = 8bc719154748225edd60182fd81ccc2c27c7eb64 | ||
SHA1 (patch-src_tclhash.c) = eea9064b6fea10891feedc58741005c9879c21e2 | ||
SHA1 (patch-src_tclhash.h) = 31c8aaec73855ed9b02173d52be4b96c6c387e70 | ||
SHA1 (eggdrop-1.8.2.tar.gz) = 33992817156a1fdae9e6baf8a213640f052e7549 | ||
RMD160 (eggdrop-1.8.2.tar.gz) = 25382b2c09413b4ed2da1dbca1ecb3e695e63820 | ||
SHA512 (eggdrop-1.8.2.tar.gz) = 72436e2e56f92ec33ab2ff6b11607aac94e41216098f6141bc00b643c60a8b320ce5dfbf7cd870399479a3c328c08b9f0d1d628e7a8f618b446afb010a773b9b | ||
Size (eggdrop-1.8.2.tar.gz) = 1756687 bytes |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.