svn commit: r337020 - branches/2014Q1/graphics/freeimage
Mathieu Arnold
mat at FreeBSD.org
Fri Dec 20 14:51:31 UTC 2013
Author: mat
Date: Fri Dec 20 14:51:30 2013
New Revision: 337020
URL: http://svnweb.freebsd.org/changeset/ports/337020
Log:
MFH: r337007
- Fix installed symlink [1]
- STAGE-clean
- Convert to USES=dos2unix
Reported by: antoine [1]
Approved by: portmgr (implicit)
Modified:
branches/2014Q1/graphics/freeimage/Makefile
Directory Properties:
branches/2014Q1/ (props changed)
Modified: branches/2014Q1/graphics/freeimage/Makefile
==============================================================================
--- branches/2014Q1/graphics/freeimage/Makefile Fri Dec 20 14:50:04 2013 (r337019)
+++ branches/2014Q1/graphics/freeimage/Makefile Fri Dec 20 14:51:30 2013 (r337020)
@@ -3,7 +3,7 @@
PORTNAME= freeimage
PORTVERSION= 3.15.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/Source%20Distribution/${PORTVERSION}
DISTNAME= FreeImage${PORTVERSION:S/.//g}
@@ -11,9 +11,9 @@ DISTNAME= FreeImage${PORTVERSION:S/.//g}
MAINTAINER= gahr at FreeBSD.org
COMMENT= Simple C/C++ bitmap graphics library
-USES= gmake
+USES= gmake dos2unix
USE_ZIP= yes
-USE_DOS2UNIX= Source/LibOpenJPEG/opj_malloc.h
+DOS2UNIX_FILES= Source/LibOpenJPEG/opj_malloc.h
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/FreeImage
MAKE_ARGS= CC=${CC} CPP=${CPP} CXX=${CXX}
@@ -31,7 +31,6 @@ PLIST_FILES= include/FreeImage.h \
lib/libfreeimageplus.so.3 \
lib/libfreeimageplus.so
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
@@ -47,7 +46,7 @@ post-build:
post-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -f Makefile.fip ${MAKE_ARGS} ${INSTALL_TARGET}
- ${LN} -s libfreeimageplus-${PORTVERSION}.so.3 ${PREFIX}/lib/libfreeimageplus.so
- ${LN} -s libfreeimageplus-${PORTVERSION}.so ${PREFIX}/lib/libfreeimageplus.so.3
+ ${LN} -s libfreeimageplus.so.3 ${STAGEDIR}${PREFIX}/lib/libfreeimageplus.so
+ ${LN} -s libfreeimageplus-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libfreeimageplus.so.3
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list