aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-04-02 17:33:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-04-02 17:33:28 +0800
commit7d9b8eeb0afc00e6f0ad8a64c748345e300cde0b (patch)
tree1c92ae31ffc73eca731bb99802c4d46aeb2c5d55
parent3879fa6fdae1e00ef37075312483427e13f89246 (diff)
downloadfreebsd-ports-gnome-7d9b8eeb0afc00e6f0ad8a64c748345e300cde0b.tar.gz
freebsd-ports-gnome-7d9b8eeb0afc00e6f0ad8a64c748345e300cde0b.tar.zst
freebsd-ports-gnome-7d9b8eeb0afc00e6f0ad8a64c748345e300cde0b.zip
- Add LICENSE
- Cosmetic fixes Approved by: portmgr blanket
-rw-r--r--devel/flickrnet/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/flickrnet/Makefile b/devel/flickrnet/Makefile
index bfc88beae1c0..249969c28d3f 100644
--- a/devel/flickrnet/Makefile
+++ b/devel/flickrnet/Makefile
@@ -12,6 +12,12 @@ DISTNAME= FlickrNet${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}-Src-48055
MAINTAINER= ports@FreeBSD.org
COMMENT= Flickr .Net API Library
+LICENSE= CPL-1.0 LGPL3
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/License.txt
+LICENSE_NAME_CPL-1.0= Common Public License 1.0
+LICENSE_PERMS_CPL-1.0= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
USES= dos2unix mono zip
DOS2UNIX_GLOB= *.cs
WRKSRC= ${WRKDIR}/FlickrNet
@@ -20,7 +26,7 @@ do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/mcs -t:library -out:FlickrNet.dll -r:System.Data -r:System.Web -r:System.Drawing *.cs
do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/mono/flickrnet
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/mono/flickrnet
cd ${WRKSRC} && ${INSTALL_DATA} FlickrNet.dll ${STAGEDIR}${PREFIX}/lib/mono/flickrnet
cd ${WRKSRC} && ${SED} -e 's|@prefix@|${PREFIX}|' < flickrnet.pc.in > flickrnet.pc
cd ${WRKSRC} && ${INSTALL_DATA} flickrnet.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig