diff options
author | romain <romain@FreeBSD.org> | 2010-06-05 21:00:22 +0800 |
---|---|---|
committer | romain <romain@FreeBSD.org> | 2010-06-05 21:00:22 +0800 |
commit | 5e5a26693a33f8b38d2488823366d83f5c0feab8 (patch) | |
tree | e3e64d31dc9db8f88c96e837298c0f1cfe237b49 | |
parent | c4943a15e075cc47c3bdaba8c268b2dd0285f0d2 (diff) | |
download | freebsd-ports-gnome-5e5a26693a33f8b38d2488823366d83f5c0feab8.tar.gz freebsd-ports-gnome-5e5a26693a33f8b38d2488823366d83f5c0feab8.tar.zst freebsd-ports-gnome-5e5a26693a33f8b38d2488823366d83f5c0feab8.zip |
Nini is an uncommonly powerful .NET configuration library designed to help
build highly configurable applications quickly.
WWW: http://nini.sourceforge.net
PR: ports/141442
Submitted by: Romain Tartiere <romain at blogreen.org>
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/nini/Makefile | 56 | ||||
-rw-r--r-- | devel/nini/distinfo | 3 | ||||
-rw-r--r-- | devel/nini/files/nini.pc.in | 8 | ||||
-rw-r--r-- | devel/nini/pkg-descr | 4 | ||||
-rw-r--r-- | devel/nini/pkg-plist | 7 |
6 files changed, 79 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a98451c4b0ad..6684009f4bb1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1006,6 +1006,7 @@ SUBDIR += newfile SUBDIR += newt SUBDIR += ngpt + SUBDIR += nini SUBDIR += noweb SUBDIR += nspr SUBDIR += oaf diff --git a/devel/nini/Makefile b/devel/nini/Makefile new file mode 100644 index 000000000000..ee046779c29c --- /dev/null +++ b/devel/nini/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: nini +# Date created: 2009-04-27 +# Whom: Romain Tartiere <romain@blogreen.org> +# +# $FreeBSD$ +# + +PORTNAME= nini +PORTVERSION= 1.1.0 +CATEGORIES= devel +MASTER_SITES= SF +MASTER_SITE_SUBDIR= nini/Nini/${PORTVERSION} +DISTNAME= Nini-${PORTVERSION} + +MAINTAINER= mono@FreeBSD.org +COMMENT= NET configuration library + +RUN_DEPENDS= mono:${PORTSDIR}/lang/mono + +USE_ZIP= yes +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/Nini + +NINI_VERSION= ${PORTVERSION:C/([0-9]*\.[0-9]*).*/\1/} + +SUB_FILES= ${PORTNAME}.pc +SUB_LIST+= PORTVERSION=${PORTVERSION} \ + NINI_VERSION=${NINI_VERSION} + +PLIST_SUB+= NINI_VERSION=${NINI_VERSION} + +.if !defined (NOPORTDOCS) +PORTDOCS= * +.endif +.if !defined (NOPORTEXAMPLES) +PORTEXAMPLES= * +.endif + +do-install: + @(cd ${INSTALL_WRKSRC}/Bin/Mono/1.1/Release && ${SETENV} MONO_SHARED_DIR=${WRKDIR} ${LOCALBASE}/bin/gacutil -root ${PREFIX}/lib/ -gacdir ${PREFIX}/lib -package ${PORTNAME}-${NINI_VERSION} -i Nini.dll) + @${INSTALL_DATA} ${WRKDIR}/nini.pc ${PREFIX}/libdata/pkgconfig/nini-${NINI_VERSION}.pc + +.if !defined (NOPORTEXAMPLES) + @${ECHO_CMD} "Installing examples..." + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/Examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) +.endif + +.if !defined (NOPORTDOCS) + @${ECHO_CMD} "Installing documentation..." + @${MKDIR} ${DOCSDIR} + @(cd ${WRKSRC}/Docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}) +.endif + +.include <bsd.port.mk> diff --git a/devel/nini/distinfo b/devel/nini/distinfo new file mode 100644 index 000000000000..7f9c8d6a1654 --- /dev/null +++ b/devel/nini/distinfo @@ -0,0 +1,3 @@ +MD5 (Nini-1.1.0.zip) = 63384f75fabd401cff1500f738d452f4 +SHA256 (Nini-1.1.0.zip) = 460cc71d931a8fb9afbc86c764eddb926051a71bde0f7deb04e22066b125270b +SIZE (Nini-1.1.0.zip) = 1246584 diff --git a/devel/nini/files/nini.pc.in b/devel/nini/files/nini.pc.in new file mode 100644 index 000000000000..c135dfd6c8f5 --- /dev/null +++ b/devel/nini/files/nini.pc.in @@ -0,0 +1,8 @@ +prefix=%%PREFIX%% +exec_prefix=${prefix} +libdir=${exec_prefix}/lib + +Name: Nini +Description: Nini - Configuration library for C# and VB.NET +Version: %%PORTVERSION%% +Libs: -r:${libdir}/mono/nini-%%NINI_VERSION%%/Nini.dll diff --git a/devel/nini/pkg-descr b/devel/nini/pkg-descr new file mode 100644 index 000000000000..5c31dfb8466d --- /dev/null +++ b/devel/nini/pkg-descr @@ -0,0 +1,4 @@ +Nini is an uncommonly powerful .NET configuration library designed to help +build highly configurable applications quickly. + +WWW: http://nini.sourceforge.net diff --git a/devel/nini/pkg-plist b/devel/nini/pkg-plist new file mode 100644 index 000000000000..dab056ab92ed --- /dev/null +++ b/devel/nini/pkg-plist @@ -0,0 +1,7 @@ +@comment $FreeBSD$ +lib/mono/gac/Nini/%%NINI_VERSION%%.0.0__691faec150a7fa7b/Nini.dll +lib/mono/nini-%%NINI_VERSION%%/Nini.dll +libdata/pkgconfig/nini-%%NINI_VERSION%%.pc +@dirrm lib/mono/nini-%%NINI_VERSION%% +@dirrm lib/mono/gac/Nini/%%NINI_VERSION%%.0.0__691faec150a7fa7b +@dirrm lib/mono/gac/Nini |