Changeset View
Standalone View
irc/scrollz/Makefile
# Created by: Will Andrews <andrews@technologist.com> | # Created by: Will Andrews <andrews@technologist.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= scrollz | PORTNAME= scrollz | ||||
PORTVERSION= 2.2.3 | PORTVERSION= 2.2.3.20151110 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= irc ipv6 | CATEGORIES= irc ipv6 | ||||
MASTER_SITES= http://www.netraam.net/scrollz/download/ \ | |||||
http://www.scrollz.org/download/ | |||||
DISTNAME= ScrollZ-${PORTVERSION} | |||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Enhanced ircII client that supports scripts, colors, and more | COMMENT= Enhanced ircII client that supports scripts, colors, and more | ||||
LICENSE= BSD3CLAUSE | LICENSE= BSD3CLAUSE | ||||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT | LICENSE_FILE= ${WRKSRC}/COPYRIGHT | ||||
USES= gmake iconv ncurses | USES= gmake iconv ncurses | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ARGS= --enable-ipv6 --enable-regexp --enable-utf8 | CONFIGURE_ARGS= --mandir=${MANPREFIX}/man1 | ||||
USE_GITHUB= yes | |||||
GH_PROJECT= ScrollZ | |||||
GH_ACCOUNT= ${GH_PROJECT} | |||||
GH_TAGNAME= 4dab3e7 | |||||
koobs: Use version repository tags where they exist, with DISTVERSION{PREFIX,SUFFIX} if necessary… | |||||
Not Done Inline ActionsThe whole objective was to go beyond the released version 2.2.3 as 'master' can actually connect with TLS, verify cert and fixes the No-SSLv3 issue. Requested project to roll a release brnrd: The whole objective was to go beyond the released version 2.2.3 as 'master' can actually… | |||||
Done Inline ActionsThen it's not really 2.2.3 any more as users would/should expect. I'm not comfortable with inaccurate PORTVERSIONS. Perhaps we should consider a DISTVERSION=2.2.3-<tag> ? koobs: Then it's not really 2.2.3 any more as users would/should expect.
I'm not comfortable with… | |||||
brnrdAuthorUnsubmitted Not Done Inline ActionsAgreed. Fixed by suffixing the commit date. brnrd: Agreed. Fixed by suffixing the commit date. | |||||
Done Inline ActionsI propose OPTIONS for these koobs: I propose OPTIONS for these | |||||
PLIST_SUB= SCROLLZ_VER="${PORTVERSION}" | PLIST_SUB= SCROLLZ_VER="${PORTVERSION:C/\.[0-9]*$//}" | ||||
OPTIONS_DEFINE= IPV6 REGEXP UTF8 | |||||
OPTIONS_RADIO= SSL | OPTIONS_RADIO= SSL | ||||
OPTIONS_RADIO_SSL= GNUTLS OPENSSL | OPTIONS_RADIO_SSL= GNUTLS OPENSSL | ||||
OPTIONS_DEFAULT= OPENSSL | OPTIONS_DEFAULT= IPV6 OPENSSL REGEXP UTF8 | ||||
REGEXP_DESC= Regular Expressions support | |||||
IPV_CONFIGURE_ENABLE= ipv6 | |||||
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls | GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls | ||||
GNUTLS_USES= pkgconfig | GNUTLS_USES= pkgconfig | ||||
GNUTLS_CONFIGURE_ON= --with-ssl | GNUTLS_CONFIGURE_ON= --with-ssl | ||||
REGEXP_CONFIGURE_ENABLE= regexp | |||||
OPENSSL_USE= OPENSSL=yes | OPENSSL_USE= OPENSSL=yes | ||||
OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} | OPENSSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} | ||||
UTF8_CONFIGURE_ENABLE= utf8 | |||||
Done Inline ActionsThis will add --without-openssl=${OPENSSL} in the OFF case, instead of just --without-openssl. In most cases this wont work. Probably better to use OPENSSL_CONFIGURE_{ON,OFF} here koobs: This will add --without-openssl=${OPENSSL} in the OFF case, instead of just --without-openssl. | |||||
brnrdAuthorUnsubmitted Not Done Inline ActionsGood catch, hadn't thought of that! Fixed. brnrd: Good catch, hadn't thought of that! Fixed. | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if !empty(ICONV_LIB) | .if !empty(ICONV_LIB) | ||||
CONFIGURE_ENV+=ac_cv_func_iconv_open=yes | CONFIGURE_ENV+=ac_cv_func_iconv_open=yes | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure | @${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure | ||||
pre-build: | pre-build: | ||||
.if !defined(BATCH) | .if !defined(BATCH) | ||||
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o SZdist \ | @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o SZdist \ | ||||
SZdist.c) | SZdist.c) | ||||
@(cd ${WRKSRC} && ./SZdist) | @(cd ${WRKSRC} && ./SZdist) | ||||
.endif | .endif | ||||
post-install: | post-install: | ||||
.for i in scrollz-${PORTVERSION} wservz | .for i in scrollz-${PORTVERSION:C/\.[0-9]*$//} wservz | ||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} | @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} | ||||
.endfor | .endfor | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |
Use version repository tags where they exist, with DISTVERSION{PREFIX,SUFFIX} if necessary
https://github.com/ScrollZ/ScrollZ/tree/sz2.2.3