aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-04-22 17:33:46 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-04-22 17:33:46 +0800
commit4e151800c3247e19fadda6c971329665e34f32d2 (patch)
tree8125b432a4c9c6981a3c781ec21c28aee9e71271 /graphics
parentdefb3635d7364a6c9c90455c3c13930e9ebec6d2 (diff)
downloadfreebsd-ports-graphics-4e151800c3247e19fadda6c971329665e34f32d2.tar.gz
freebsd-ports-graphics-4e151800c3247e19fadda6c971329665e34f32d2.tar.zst
freebsd-ports-graphics-4e151800c3247e19fadda6c971329665e34f32d2.zip
- Add LICENSE
- Switch to USES=localbase - Switch to options helpers - Update WWW
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sswf/Makefile14
-rw-r--r--graphics/sswf/pkg-descr2
2 files changed, 7 insertions, 9 deletions
diff --git a/graphics/sswf/Makefile b/graphics/sswf/Makefile
index 29094baa896..118d0d6d464 100644
--- a/graphics/sswf/Makefile
+++ b/graphics/sswf/Makefile
@@ -11,11 +11,14 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Library and script language tool to create Flash movies
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libfreetype.so:print/freetype2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USES= bison iconv jpeg libtool pkgconfig
+USES= bison iconv jpeg libtool localbase pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
INSTALL_TARGET= install-strip
@@ -23,16 +26,11 @@ USE_LDCONFIG= yes
PLIST_SUB= VERSION="${PORTVERSION}"
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib
-
OPTIONS_DEFINE= DEBUG
-.include <bsd.port.pre.mk>
+DEBUG_CONFIGURE_OFF= --disable-debug --disable-yydebug
-.if ! ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+= --disable-debug --disable-yydebug
-.endif
+.include <bsd.port.pre.mk>
.if empty(ICONV_LIB)
CONFIGURE_ARGS+=ac_cv_lib_iconv_libiconv_open=no \
diff --git a/graphics/sswf/pkg-descr b/graphics/sswf/pkg-descr
index 14a11be310f..7918ec393a6 100644
--- a/graphics/sswf/pkg-descr
+++ b/graphics/sswf/pkg-descr
@@ -2,4 +2,4 @@ A C++ Library and a script language tool to create Flash (SWF) movies up to
version 9. Supports nearly all the Macromedia Flash tags. Includes detailled
docs and a tool to convert your system fonts to a Flash movie.
-WWW: http://www.m2osw.com/sswf
+WWW: https://www.m2osw.com/sswf