diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-01 01:30:27 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-01 01:30:27 +0800 |
commit | 2a8ac39bd2e6ef275d365a670b391f8b5251bd6c (patch) | |
tree | 72d32642f055e51d875807855e10e0a2e959a02a /devel | |
parent | 89ca0aee33649964cc9c31713a4703a586d9d4ca (diff) | |
download | freebsd-ports-gnome-2a8ac39bd2e6ef275d365a670b391f8b5251bd6c.tar.gz freebsd-ports-gnome-2a8ac39bd2e6ef275d365a670b391f8b5251bd6c.tar.zst freebsd-ports-gnome-2a8ac39bd2e6ef275d365a670b391f8b5251bd6c.zip |
- Add staging support
- Convert to new LIB_DEPENDS format
Diffstat (limited to 'devel')
-rw-r--r-- | devel/kyra/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/devel/kyra/Makefile b/devel/kyra/Makefile index 5400611715ad..69a227ac2f2c 100644 --- a/devel/kyra/Makefile +++ b/devel/kyra/Makefile @@ -12,9 +12,9 @@ COMMENT= Simple Sprite engine written in C++ LICENSE= GPLv2 -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ - png15:${PORTSDIR}/graphics/png \ - tiff:${PORTSDIR}/graphics/tiff +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png \ + libtiff.so:${PORTSDIR}/graphics/tiff WRKSRC= ${WRKDIR}/${PORTNAME} @@ -26,20 +26,20 @@ MAKE_ENV= MAKE_KYRA=RELEASE KYRA_OPENGL=YES MAKE_ARGS= CC="${CC}" CXX="${CXX}" LD="${CXX}" \ RELEASE_CFLAGS="${CFLAGS}" RELEASE_CXXFLAGS="${CXXFLAGS}" -NO_STAGE= yes do-install: .for i in encoder spriteed - (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} kr${i} ${PREFIX}/bin) + (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} kr${i} ${STAGEDIR}${PREFIX}/bin) .endfor - (cd ${WRKSRC}/engine && ${INSTALL_DATA} libkyra.a ${PREFIX}/lib) - @${MKDIR} ${PREFIX}/include/Kyra - (cd ${WRKSRC} && ${INSTALL_DATA} kyra.h ${PREFIX}/include/Kyra) + (cd ${WRKSRC}/engine && ${INSTALL_DATA} libkyra.a ${STAGEDIR}${PREFIX}/lib) + @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra + (cd ${WRKSRC} && ${INSTALL_DATA} kyra.h ${STAGEDIR}${PREFIX}/include/Kyra) .for i in engine gui guiExtended util - @${MKDIR} ${PREFIX}/include/Kyra/${i} - (cd ${WRKSRC}/${i} && ${INSTALL_DATA} *.h ${PREFIX}/include/Kyra/${i}) + @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/${i} + (cd ${WRKSRC}/${i} && ${INSTALL_DATA} *.h \ + ${STAGEDIR}${PREFIX}/include/Kyra/${i}) .endfor - @${MKDIR} ${PREFIX}/include/Kyra/tinyxml + @${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/tinyxml (cd ${WRKSRC}/../tinyxml && ${INSTALL_DATA} *.h \ - ${PREFIX}/include/Kyra/tinyxml) + ${STAGEDIR}${PREFIX}/include/Kyra/tinyxml) .include <bsd.port.mk> |