diff options
-rw-r--r-- | cad/layouteditor/Makefile | 9 | ||||
-rw-r--r-- | chinese/bg5ps/Makefile | 13 | ||||
-rw-r--r-- | graphics/gltt/Makefile | 9 | ||||
-rw-r--r-- | graphics/ocaml-images/Makefile | 33 | ||||
-rw-r--r-- | graphics/py-paint/Makefile | 15 | ||||
-rw-r--r-- | graphics/py-paint/pkg-plist | 8 | ||||
-rw-r--r-- | misc/magicpoint/Makefile | 4 | ||||
-rw-r--r-- | print/freetype/Makefile | 10 | ||||
-rw-r--r-- | print/latex-cjk/Makefile | 2 | ||||
-rw-r--r-- | print/ttftot42/Makefile | 8 |
10 files changed, 42 insertions, 69 deletions
diff --git a/cad/layouteditor/Makefile b/cad/layouteditor/Makefile index 4ed18cd30680..756e94ad61b4 100644 --- a/cad/layouteditor/Makefile +++ b/cad/layouteditor/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: layouteditor -# Date created: Sun, Apr 29 2007 -# Whom: Hiroki Sato <hrs@FreeBSD.org> -# +# Created by: Hiroki Sato <hrs@FreeBSD.org> # $FreeBSD$ -# PORTNAME= layouteditor PORTVERSION= 0.0.20110614 @@ -16,10 +12,11 @@ DISTNAME= LayoutEditor-${PORTVERSION:S,^0.0.,,}-gpl-src MAINTAINER= hrs@FreeBSD.org COMMENT= IC/MEMS layout editor +LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype + USE_QT4= corelib gui network moc_build sql uic_build \ rcc_build qmake qt3support xml USE_ZIP= yes -USE_FREETYPE= yes WRKSRC= ${WRKDIR}/layout PLIST_FILES= bin/layout diff --git a/chinese/bg5ps/Makefile b/chinese/bg5ps/Makefile index 36826771f77f..f403731e8b17 100644 --- a/chinese/bg5ps/Makefile +++ b/chinese/bg5ps/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: bg5ps -# Date created: 17 June 1998 -# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org> -# +# Created by: Jing-Tang Keith Jang <keith@FreeBSD.org> # $FreeBSD$ -# PORTNAME= bg5ps PORTVERSION= 1.3.0p3 @@ -15,17 +11,20 @@ DISTNAME= bg5ps-1.3.0 MAINTAINER= ports@FreeBSD.org COMMENT= Convert Chinese-Big5/GB encoded files to Postscript, using TTF fonts -USE_FREETYPE= yes +LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype + USE_PYTHON= yes PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message +.include <bsd.port.options.mk> + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${PREFIX}/etc/bg5ps.conf.sample ${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${PREFIX}/etc/gb2312-bg5ps.conf.sample -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR} .endif diff --git a/graphics/gltt/Makefile b/graphics/gltt/Makefile index 689c1e1f2e79..963b8de72fa2 100644 --- a/graphics/gltt/Makefile +++ b/graphics/gltt/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gltt -# Date created: 12 Aug 2002 -# Whom: Igor Pokrovsky <tiamat@telegraph.spb.ru> -# +# Created by: Igor Pokrovsky <tiamat@telegraph.spb.ru> # $FreeBSD$ -# PORTNAME= gltt PORTVERSION= 2.5.2 @@ -14,9 +10,10 @@ MASTER_SITES= http://gltt.sourceforge.net/download/ MAINTAINER= ports@FreeBSD.org COMMENT= TrueType fonts rendering using OpenGL +LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype + USE_AUTOTOOLS= libtool USE_GL= gl glut -USE_FREETYPE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile index ded18cb5f2d0..e151447f718e 100644 --- a/graphics/ocaml-images/Makefile +++ b/graphics/ocaml-images/Makefile @@ -36,67 +36,62 @@ LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+= --without-lablgtk MAKE_JOBS_UNSAFE= yes -OPTIONS= PNG "Enable PNG support" on \ - JPEG "Enable JPEG support" on \ - TIFF "Enable TIFF support" on \ - XPM "Enable XPM support" on \ - GIF "Enable GIF support" on \ - FREETYPE "Enable text rendering via freetype" on \ - GS "Enable PostScript support via Ghostscript" on \ - GTK2 "Enable LablGTK2 support" off +OPTIONS_DEFINE= PNG JPEG TIFF XPM GIF FREETYPE GS GTK2 DOCS +OPTIONS_DEFAULT= PNG JPEG TIFF XPM GIT FREETYPE GS +GS_DESC= PostScript support via Ghostscript .include <bsd.port.options.mk> -.if !defined(WITHOUT_PNG) +.if ${PORT_OPTIONS:MPNG} LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png CONFIGURE_ARGS+= --with-png .else CONFIGURE_ARGS+= --without-png .endif -.if !defined(WITHOUT_JPEG) +.if ${PORT_OPTIONS:MJPEG} LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg CONFIGURE_ARGS+= --with-jpeg .else CONFIGURE_ARGS+= --without-jpeg .endif -.if !defined(WITHOUT_TIFF) +.if ${PORT_OPTIONS:MTIFF} LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff CONFIGURE_ARGS+= --with-tiff .else CONFIGURE_ARGS+= --without-tiff .endif -.if !defined(WITHOUT_XPM) +.if ${PORT_OPTIONS:MXPM} USE_XORG= xpm CONFIGURE_ARGS+= --with-xpm .else CONFIGURE_ARGS+= --without-xpm .endif -.if !defined(WITHOUT_GIF) +.if ${PORT_OPTIONS:MGIF} LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib CONFIGURE_ARGS+= --with-gif .else CONFIGURE_ARGS+= --without-gif .endif -.if !defined(WITHOUT_FREETYPE) -USE_FREETYPE= yes +.if ${PORT_OPTIONS:MFREETYPE} +LIB_DEPENDS+= ttf:${PORTSDIR}/print/freetype CONFIGURE_ARGS+= --with-freetype .else CONFIGURE_ARGS+= --without-freetype .endif -.if defined(WITH_GS) +.if ${PORT_OPTIONS:MGS} USE_GHOSTSCRIPT= yes CONFIGURE_ARGS+= --with-gs .else CONFIGURE_ARGS+= --without-gs .endif -.if defined(WITH_GTK2) +.if ${PORT_OPTIONS:MGTK2} CONFIGURE_ARGS+= --with-lablgtk2 BUILD_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 RUN_DEPENDS+= lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2 @@ -112,12 +107,12 @@ GNU_CONFIGURE= yes DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} DOCSFILES= CHANGES README LICENSE -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= ${DOCSFILES} doc .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR}/doc @(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DOCSDIR}/doc '-name "*.jpg" -o -name "*.html"') @${INSTALL_DATA} ${DOCSFILES:S,^,${WRKSRC}/,g} ${DOCSDIR}/ diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile index 4d9110826828..d8e480e17aec 100644 --- a/graphics/py-paint/Makefile +++ b/graphics/py-paint/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: py-paint -# Date created: 8 July 2001 -# Whom: Hye-Shik Chang <perky@python.or.kr> -# +# Created by: Hye-Shik Chang <perky@python.or.kr> # $FreeBSD$ -# PORTNAME= paint PORTVERSION= 0.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}%20${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,11 +12,11 @@ DISTNAME= pypaint-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simple and flexible painting adaptor to libart for Python -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ + ttf:${PORTSDIR}/print/freetype USE_PYTHON= yes USE_PYDISTUTILS= yes -USE_FREETYPE= yes USE_GNOME= libartlgpl2 NO_WRKSUBDIR= yes CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 \ @@ -29,10 +25,11 @@ LDFLAGS+= -L${LOCALBASE}/lib EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e "s,art_lgpl,art_lgpl_2," ${WRKSRC}/setup.py -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MEXAMPLES} post-install: @${MKDIR} ${EXAMPLESDIR} ${CP} ${WRKSRC}/test* ${EXAMPLESDIR} diff --git a/graphics/py-paint/pkg-plist b/graphics/py-paint/pkg-plist index 7043947e266d..b5e9f0decbf2 100644 --- a/graphics/py-paint/pkg-plist +++ b/graphics/py-paint/pkg-plist @@ -1,5 +1,5 @@ %%PYTHON_SITELIBDIR%%/paint.so -%%PORTDOCS%%%%EXAMPLESDIR%%/test_bar.py -%%PORTDOCS%%%%EXAMPLESDIR%%/test_paint.py -%%PORTDOCS%%%%EXAMPLESDIR%%/testpie.py -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_bar.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_paint.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testpie.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% diff --git a/misc/magicpoint/Makefile b/misc/magicpoint/Makefile index 1b76d4c600df..331a21a7df7c 100644 --- a/misc/magicpoint/Makefile +++ b/misc/magicpoint/Makefile @@ -14,7 +14,7 @@ LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png \ mng:${PORTSDIR}/graphics/libmng RUN_DEPENDS+= pnmscale:${PORTSDIR}/graphics/netpbm -USE_IMAKE= yes +USE_IMAKE= yese USE_XORG= x11 xext xmu xt sm ice xi xtst WANT_GNOME= yes GNU_CONFIGURE= yes @@ -46,7 +46,7 @@ NO_OPTIONS_SORT=yes .if ${PORT_OPTIONS:MFREETYPE} # Only freetype 1.x is supported -USE_FREETYPE= yes +LIB_DEPENDS+= ttf:${PORTSDIR}/print/freetype CONFIGURE_ARGS+= --enable-freetype \ --enable-freetype-charset16 .else diff --git a/print/freetype/Makefile b/print/freetype/Makefile index c5d86e93c798..ea1440973e78 100644 --- a/print/freetype/Makefile +++ b/print/freetype/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: freetype -# Date created: January 24, 1998 -# Whom: jseger@FreeBSD.org -# +# Created by: jseger@FreeBSD.org # $FreeBSD$ -# PORTNAME= freetype PORTVERSION= 1.3.1 @@ -25,10 +21,6 @@ CONFIGURE_ARGS= --disable-nls --enable-static --enable-shared PORTSCOUT= limit:^1\. -.ifdef USE_FREETYPE -IGNORE= cannot be installed: you have the 'USE_FREETYPE' variable defined either in environment or in make(1) arguments. Please undefine and try again -.endif - post-patch: @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ ${WRKSRC}/configure diff --git a/print/latex-cjk/Makefile b/print/latex-cjk/Makefile index 8c691cfbf890..76495bb3508c 100644 --- a/print/latex-cjk/Makefile +++ b/print/latex-cjk/Makefile @@ -19,9 +19,9 @@ RUN_DEPENDS= zh-arphicttf>=0:${PORTSDIR}/chinese/arphicttf \ BUILD_DEPENDS:= ${RUN_DEPENDS} \ ${LOCALBASE}/share/ttf2pt1/maps/cugb.map:${PORTSDIR}/chinese/ttf2pt1 \ ttf2pt1:${PORTSDIR}/print/ttf2pt1 +LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype USE_GMAKE= yes -USE_FREETYPE= yes MAN1= bg5conv.1 cef5conv.1 cefconv.1 cefsconv.1 extconv.1 \ hbf2gf.1 sjisconv.1 diff --git a/print/ttftot42/Makefile b/print/ttftot42/Makefile index b910c9b4e05e..abaf7d906a7c 100644 --- a/print/ttftot42/Makefile +++ b/print/ttftot42/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: ttftot42 -# Date created: 22 April 2001 -# Whom: Yukihiro Nakai <nakai@FreeBSD.org> -# +# Created by: Yukihiro Nakai <nakai@FreeBSD.org> # $FreeBSD$ -# PORTNAME= ttftot42 PORTVERSION= 0.3.1 @@ -14,7 +10,7 @@ MASTER_SITES= http://www.nih.at/ttftot42/ MAINTAINER= ports@FreeBSD.org COMMENT= TrueType to Type42 font converter -USE_FREETYPE= yes +LIB_DEPENDS= ttf:${PORTSDIR}/print/freetype GNU_CONFIGURE= yes PLIST_FILES= bin/ttftot42 |