# New ports collection makefile for: dancer-services # Date Created: 14 April 2003 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= dancer-services PORTVERSION= 1.8.0.6.9 PORTREVISION= 2 CATEGORIES= irc MASTER_SITES= http://source.freenode.net/~asuffield/dancer/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= knu@FreeBSD.org COMMENT= The IRC services (nickserv, chanserv, etc.) for dancer-ircd WANT_AUTOMAKE_VER=15 WANT_AUTOCONF_VER=253 USE_RC_SUBR= yes USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes MAKE_ARGS= BINDIR=${PREFIX}/sbin \ CONFDIR=${PREFIX}/etc/dancer-services \ HELPDIR=${PREFIX}/share/dancer-services/help \ WHOAMI=root .if !defined(PACKAGE_BUILDING) && !defined(BATCH) IS_INTERACTIVE= yes .endif post-patch: ${REINPLACE_CMD} 's:@@prefix@@:${PREFIX}:g' \ ${WRKSRC}/bin/services.conf \ ${WRKSRC}/bin/settings.conf.in pre-configure: cd ${WRKSRC}; ${SETENV} ${SCRIPTS_ENV} ${SH} ./autogen.sh pre-build: cd ${WRKSRC}; ${MAKE} depend post-build: ${SED} -e 's,%%PREFIX%%,${PREFIX},g' -e 's,%%RC_SUBR%%,${RC_SUBR},g' \ ${FILESDIR}/dancer-services.sh > ${WRKDIR}/dancer-services.sh pre-install: ${MKDIR} ${PREFIX}/share/dancer-services @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL post-install: ${FIND} ${PREFIX}/share/dancer-services -type d -print0 | \ ${XARGS} -0 ${CHMOD} 755 ${FIND} ${PREFIX}/share/dancer-services -type f -print0 | \ ${XARGS} -0 ${CHMOD} ${SHAREMODE} ${INSTALL} -d -m 700 -o ircservices -g ircservices \ /var/log/dancer-services \ /var/run/dancer-services .for f in motd.dcc motd.global services.conf settings.conf ${INSTALL_DATA} ${WRKSRC}/bin/${f} ${PREFIX}/etc/dancer-services/${f}.sample .endfor .for f in glines.conf jupes.conf logon.news ${TOUCH} ${PREFIX}/etc/dancer-services/${f}.sample if [ ! -f ${PREFIX}/etc/dancer-services/${f} ]; then \ ${CP} ${PREFIX}/etc/dancer-services/${f}.sample ${PREFIX}/etc/dancer-services/${f}; \ fi .endfor ${FIND} ${PREFIX}/etc/dancer-services -type d -print0 | \ ${XARGS} -0 ${CHMOD} 700 ${FIND} ${PREFIX}/etc/dancer-services -type f -print0 | \ ${XARGS} -0 ${CHMOD} 600 ${CHOWN} -R ircservices:ircservices ${PREFIX}/etc/dancer-services ${INSTALL_SCRIPT} ${WRKDIR}/dancer-services.sh ${PREFIX}/etc/rc.d/ ${SED} -e "s,/usr/local/,${PREFIX}/,g" ${PKGMESSAGE} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for f in ChangeLog README ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ .endfor .endif .include 2'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
blob: f64e10bdf3cdac249dca874a7387d1a781dd69ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# ex:ts=8
# New ports collection makefile for:    sqlite
# Date created:         Feb 21, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   sqlite
PORTVERSION=    2.7.1
PORTREVISION=   2
CATEGORIES= databases
MASTER_SITES=   http://www.hwaci.com/sw/sqlite/
DISTNAME=   ${PORTNAME}-${PORTVERSION}

MAINTAINER= gerhard.haering@gmx.de

LIB_DEPENDS=    tcl${TCL_VER:S/.//}:${PORTSDIR}/lang/tcl${TCL_VER:S/.//}

USE_GMAKE=  YES
GNU_CONFIGURE=  YES
USE_REINPLACE=  YES
CONFIGURE_ARGS= --prefix=${PREFIX} --with-hints=freebsd.hints
ALL_TARGET= all libtclsqlite.la
INSTALLS_SHLIB= YES

WRKSRC=     ${WRKDIR}/${PORTNAME}
MAKE_ARGS+= TCLSH=tclsh${TCL_VER}
MAKE_ENV+=  TCL_VER=${TCL_VER}
TCL_VER?=   8.3

DOCFILES=   arch.html arch.png c_interface.html changes.html \
        crosscompile.html download.html faq.html index.html \
        lang.html lemon.html mingw.html opcode.html report1.txt \
        speed.html sqlite.html tclsqlite.html vdbe.html

DOCSDIR=    ${PREFIX}/share/doc/${PORTNAME}

post-patch:
    ${REINPLACE_CMD} -e "s/tclsh \$$(TOP)/\$$(TCLSH) \$$(TOP)/g" ${WRKSRC}/Makefile.in
    ${ECHO} "config_TARGET_TCL_INC=\"-I${PREFIX}/include/tcl${TCL_VER}\"" >${WRKSRC}/freebsd.hints
    ${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_VER:S/.//}\"" >>${WRKSRC}/freebsd.hints
    #${ECHO} "config_TARGET_CFLAGS=\"-DTHREADSAFE=1 -pthread\"" >>${WRKSRC}/freebsd.hints

post-build:
    # Build the docs
    cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} doc

post-install:
    ${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${FILESDIR}/example.tcl ${DOCSDIR}
.for file in ${DOCFILES}
    @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>