1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- Add LICENSE

- Fix library installation
This commit is contained in:
Dmitry Marakasov 2015-05-11 10:43:04 +00:00
parent c5073b6136
commit 3d0fba850d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386062

View File

@ -3,7 +3,7 @@
PORTNAME= togl
PORTVERSION= 1.7
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics tk
MASTER_SITES= SF/${PORTNAME}/Togl/${PORTVERSION}
DISTNAME= Togl-${PORTVERSION}
@ -11,6 +11,9 @@ DISTNAME= Togl-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tk OpenGL widget
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES+= gmake tk
USE_XORG= x11 xt xmu
USE_GL= gl
@ -36,9 +39,10 @@ post-patch:
do-install:
@${MKDIR} ${STAGEDIR}${TOGL_INSTDIR}
.for i in togl.h togl_ws.h libTogl1.7.so pkgIndex.tcl
.for i in togl.h togl_ws.h pkgIndex.tcl
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${TOGL_INSTDIR}
.endfor
${INSTALL_LIB} ${WRKSRC}/libTogl1.7.so ${STAGEDIR}${TOGL_INSTDIR}
${LN} -s libTogl1.7.so ${STAGEDIR}${TOGL_INSTDIR}/libtogl.so.1
${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so ${STAGEDIR}${PREFIX}/lib/libtogl.so
${LN} -s ${TOGL_INSTDIR}/libTogl1.7.so ${STAGEDIR}${PREFIX}/lib/libtogl.so.1