From 0368e545069f276827900c28c37c35bb450d1289 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 29 Apr 2014 21:16:02 +0000 Subject: [PATCH] - Add LICENSE - Add NLS option - Pass maintainership to submitter - While I'm here: - Simplify GUILE_VER - Remove OPTIONS_DEFAULT - USe NLS_CONFIGURE_ENABLE PR: ports/189115 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> --- lang/guile/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/lang/guile/Makefile b/lang/guile/Makefile index 02dd70f78510..12d2e68f8b9e 100644 --- a/lang/guile/Makefile +++ b/lang/guile/Makefile @@ -9,13 +9,15 @@ CATEGORIES= lang scheme MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= guile -MAINTAINER= ports@FreeBSD.org +MAINTAINER= 5u623l20@gmail.com COMMENT= GNU Ubiquitous Intelligent Language for Extension +LICENSE= LGPL21 + LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp USE_AUTOTOOLS= autoconf libltdl -USES= gettext gmake ncurses +USES= gmake ncurses GNU_CONFIGURE= yes USE_LDCONFIG= yes LDFLAGS+= -L${LOCALBASE}/lib @@ -23,8 +25,7 @@ CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -fwrapv INSTALL_TARGET= install-strip -GUILE_VER= 1.8 -PLIST_SUB= GUILE_VER=${GUILE_VER} +PLIST_SUB= GUILE_VER=${PORTVERSION:R} REINPLACE_FILES= libguile/smob.c libguile/filesys.c libguile/gc.c \ libguile/mallocs.c libguile/eval.c libguile/gc-malloc.c \ @@ -32,6 +33,12 @@ REINPLACE_FILES= libguile/smob.c libguile/filesys.c libguile/gc.c \ INFO= goops guile-tut guile r5rs +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes + +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext + post-extract: cd ${WRKSRC}; ${CHMOD} u+w ${REINPLACE_FILES} @${FIND} ${WRKSRC}/doc -name "*.info*" -delete