svn commit: r382932 - head/graphics/ftgl

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Apr 1 17:45:59 UTC 2015


Author: amdmi3
Date: Wed Apr  1 17:45:58 2015
New Revision: 382932
URL: https://svnweb.freebsd.org/changeset/ports/382932

Log:
  - Add LICENSE
  - Strip library

Modified:
  head/graphics/ftgl/Makefile

Modified: head/graphics/ftgl/Makefile
==============================================================================
--- head/graphics/ftgl/Makefile	Wed Apr  1 17:42:43 2015	(r382931)
+++ head/graphics/ftgl/Makefile	Wed Apr  1 17:45:58 2015	(r382932)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ftgl
 DISTVERSION=	2.1.3-rc5
-PORTREVISION=	4
+PORTREVISION=	5
 PORTEPOCH=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/FTGL%20Source/2.1.3%7Erc5
@@ -11,6 +11,9 @@ MASTER_SITES=	SF/${PORTNAME}/FTGL%20Sour
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	OpenGL FreeType fonts rendering library
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
 
 GNU_CONFIGURE=	yes
@@ -19,7 +22,6 @@ CONFIGURE_ARGS=	--with-gl-inc="${LOCALBA
 USES=		pathfix gmake libtool
 USE_GL=		gl glu
 USE_XORG=	x11 xext xmu
-INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:S/-/~/}
@@ -28,4 +30,7 @@ post-patch:
 	@${REINPLACE_CMD} -e '/SUBDIRS/ s|docs||; /SUBDIRS/ s|demo||' \
 		${WRKSRC}/Makefile.in
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libftgl.so
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list