aboutsummaryrefslogtreecommitdiff
path: root/graphics/openjpeg/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-06-11 08:01:51 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-06-11 08:01:51 +0000
commit7a7236802096b0efed9edc463a82216d045a6deb (patch)
tree0332b5e69e802f24443ead9d6240a9ccc4b0d4ea /graphics/openjpeg/Makefile
parentac9f676e9e6ce5af5a5d532026b010e85bcccf72 (diff)
downloadports-7a7236802096b0efed9edc463a82216d045a6deb.tar.gz
ports-7a7236802096b0efed9edc463a82216d045a6deb.zip
- add COPYRIGHT
- add MASTER_SITES
Notes
Notes: svn path=/head/; revision=256353
Diffstat (limited to 'graphics/openjpeg/Makefile')
-rw-r--r--graphics/openjpeg/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/openjpeg/Makefile b/graphics/openjpeg/Makefile
index 206d94c08295..03d5745f8a25 100644
--- a/graphics/openjpeg/Makefile
+++ b/graphics/openjpeg/Makefile
@@ -10,6 +10,7 @@ PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.openjpeg.org/ \
+ http://openjpeg.googlecode.com/files/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trasz
DISTNAME= ${PORTNAME}_v${PORTVERSION:S/./_/g}
@@ -20,6 +21,7 @@ COMMENT= An open-source JPEG 2000 codec
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff
LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
MAKE_JOBS_UNSAFE= yes
USE_GMAKE= yes
@@ -37,6 +39,9 @@ PLIST_FILES= include/openjpeg.h \
SHLIB_VER= 2
+post-extract:
+ ${LN} ${WRKSRC}/jp3d/LICENSE.txt ${WRKSRC}/COPYRIGHT
+
post-patch: .SILENT
${FIND} ${WRKSRC} -type f -name Makefile -exec ${REINPLACE_CMD} 's|gcc|$$(CC)|g' {} +