mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Stop being INTERACTIVE
Be more flexible about TCL versions
This commit is contained in:
parent
6eb03e57b3
commit
c5ca0c5f78
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310604
1 changed files with 24 additions and 9 deletions
|
@ -1,9 +1,5 @@
|
|||
# New ports collection makefile for: evangeline
|
||||
# Date created: 1 Mar 2005
|
||||
# Whom: "Edini" <ports@edini.net>
|
||||
#
|
||||
# Created by: Edini <ports@edini.net>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= evangeline
|
||||
PORTVERSION= 1.1.4
|
||||
|
@ -14,13 +10,13 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}-b1.tar.gz
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= IRC Bot based on Eggdrop
|
||||
|
||||
LIB_DEPENDS= tcl84.1:${PORTSDIR}/lang/tcl84
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
USE_TCL= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
IS_INTERACTIVE= yes
|
||||
|
||||
PLIST_FILES= bin/evangeline
|
||||
|
||||
OPTIONS_DEFINE= IPV6 CRYPT
|
||||
OPTIONS_DEFAULT= CRYPT
|
||||
|
@ -40,6 +36,25 @@ CONFIGURE_ARGS+= --enable-crypt
|
|||
CONFIGURE_ARGS+= --disable-crypt
|
||||
.endif
|
||||
|
||||
PLIST_FILES= bin/evangeline
|
||||
pre-everything::
|
||||
@${ECHO_MSG} 'To redefine the "admin" user name, set ADMIN_NAME'
|
||||
@${ECHO_MSG} 'To redefine the "Permanent owner" name, set OWNER_NAME'
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's,^read usersq,usersq=n,' ${WRKDIR}/evangeline/configure
|
||||
|
||||
# Turns out that putting ADMIN_NAME more than 9 chars creates an overflow...
|
||||
# Fix that here while replacing the name.
|
||||
post-configure:
|
||||
.if !empty(ADMIN_NAME)
|
||||
@${REINPLACE_CMD} \
|
||||
's,^char admin[^ ]* = [^;]*,const char* admin = "${ADMIN_NAME}",' \
|
||||
${WRKDIR}/evangeline/src/main.c
|
||||
.endif
|
||||
.if !empty(OWNER_NAME)
|
||||
@${REINPLACE_CMD} \
|
||||
's,^char owner[^ ]* = [^;]*,const char* owner = "${OWNER_NAME}",' \
|
||||
${WRKDIR}/evangeline/src/main.c
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue