From owner-svn-ports-head@FreeBSD.ORG Sat Mar 1 22:39:06 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E39AD8D4; Sat, 1 Mar 2014 22:39:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D03551739; Sat, 1 Mar 2014 22:39:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s21Md6Hv004270; Sat, 1 Mar 2014 22:39:06 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s21Md6ul004269; Sat, 1 Mar 2014 22:39:06 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201403012239.s21Md6ul004269@svn.freebsd.org> From: Antoine Brodin Date: Sat, 1 Mar 2014 22:39:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346722 - head/print/ttf2pt1 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2014 22:39:07 -0000 Author: antoine Date: Sat Mar 1 22:39:06 2014 New Revision: 346722 URL: http://svnweb.freebsd.org/changeset/ports/346722 QAT: https://qat.redports.org/buildarchive/r346722/ Log: - New LIB_DEPENDS syntax - Allow packaging as a regular user - Fix references to STAGEDIR in scripts and man pages Modified: head/print/ttf2pt1/Makefile Modified: head/print/ttf2pt1/Makefile ============================================================================== --- head/print/ttf2pt1/Makefile Sat Mar 1 21:23:14 2014 (r346721) +++ head/print/ttf2pt1/Makefile Sat Mar 1 22:39:06 2014 (r346722) @@ -3,7 +3,7 @@ PORTNAME= ttf2pt1 PORTVERSION= 3.4.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print MASTER_SITES= SF EXTRACT_SUFX= .tgz @@ -11,12 +11,13 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= True Type Font to Postscript Type 1 Converter -LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils -USES= pkgconfig shebangfix perl5 desthack +USES= pkgconfig shebangfix perl5 uidfix MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LIBS="${LDFLAGS}" \ - INSTDIR="${STAGEDIR}${PREFIX}" LIBXDIR="${STAGEDIR}${PREFIX}/bin" + INSTDIR="${STAGEDIR}${PREFIX}" LIBXDIR="${STAGEDIR}${PREFIX}/bin" \ + OWNER=${BINOWN} GROUP=${BINGRP} SHEBANG_FILES= app/TeX/sfd2map \ app/TeX/cjk-latex-config \ other/showdf \ @@ -35,4 +36,11 @@ CPPFLAGS+= `pkg-config --cflags freetype LDFLAGS+= `pkg-config --libs freetype2` \ -L${LOCALBASE}/lib -lm +post-install: + @${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/ttf2pt1_convert \ + ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_x2gs.1 \ + ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1.1 \ + ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_convert.1 \ + ${STAGEDIR}${DATADIR}/scripts/convert + .include