diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-11 18:43:04 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-11 18:43:04 +0800 |
commit | ef869ab286c00bf4053d509156d78324d0428952 (patch) | |
tree | 7bcc03ebd1be805d73af301d0031ff1152376977 | |
parent | 1e34e52822d2c10c32624291f337c6ecaed826da (diff) | |
download | freebsd-ports-gnome-ef869ab286c00bf4053d509156d78324d0428952.tar.gz freebsd-ports-gnome-ef869ab286c00bf4053d509156d78324d0428952.tar.zst freebsd-ports-gnome-ef869ab286c00bf4053d509156d78324d0428952.zip |
- Add LICENSE
- Fix library installation
-rw-r--r-- | graphics/togl/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/togl/Makefile b/graphics/togl/Makefile index 7a25d941eda4..96765f39644c 100644 --- a/graphics/togl/Makefile +++ b/graphics/togl/Makefile @@ -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 |