aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-06-11 16:01:51 +0800
committerdinoex <dinoex@FreeBSD.org>2010-06-11 16:01:51 +0800
commitb351de5df999766b4fdcb3cfc1534c2e59ba0e9d (patch)
tree234d4454ce1308eb8b0fd49bd2a2f2458eee6634 /graphics
parentba960b9b30d1b168420461a0d45d74a671ac318f (diff)
downloadfreebsd-ports-gnome-b351de5df999766b4fdcb3cfc1534c2e59ba0e9d.tar.gz
freebsd-ports-gnome-b351de5df999766b4fdcb3cfc1534c2e59ba0e9d.tar.zst
freebsd-ports-gnome-b351de5df999766b4fdcb3cfc1534c2e59ba0e9d.zip
- add COPYRIGHT
- add MASTER_SITES
Diffstat (limited to 'graphics')
-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' {} +