Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/x11/xfstt/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/x11/xfstt/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.19 retrieving revision 1.36 diff -u -p -r1.19 -r1.36 --- pkgsrc/x11/xfstt/Makefile 2004/01/25 20:46:19 1.19 +++ pkgsrc/x11/xfstt/Makefile 2014/06/01 18:49:41 1.36 @@ -1,18 +1,17 @@ -# $NetBSD: Makefile,v 1.19 2004/01/25 20:46:19 wiz Exp $ -# +# $NetBSD: Makefile,v 1.36 2014/06/01 18:49:41 wiz Exp $ -DISTNAME= xfstt-1.6 -PKGREVISION= 1 +DISTNAME= xfstt-1.9 CATEGORIES= x11 net fonts MASTER_SITES= http://download.berlios.de/xfstt/ -MAINTAINER= tech-pkg@NetBSD.org +MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://developer.berlios.de/projects/xfstt/ COMMENT= TrueType font server for X11 +LICENSE= gnu-gpl-v2 -USE_PKGINSTALL= YES +USE_LANGUAGES= c c++ USE_X11BASE= YES -USE_GNU_TOOLS+= make +USE_TOOLS+= gmake pkg-config GNU_CONFIGURE= YES # There isn't really any l10n yet, only some preliminary i18n support. @@ -20,29 +19,32 @@ CONFIGURE_ARGS+= --disable-nls CXXFLAGS+= -fomit-frame-pointer -ffast-math -RCD_SCRIPTS= xfstt +LDFLAGS.SunOS+= -lsocket -lnsl -post-patch: - @( \ - cd ${WRKSRC} ; \ - for f in src/perftest.cc src/xfstt.cc doc/xfstt.1x; \ - do \ - ${MV} $$f $$f.orig ; \ - ${SED} ${FILES_SUBST_SED} $$f.orig > $$f ; \ - done ; \ - ) +RCD_SCRIPTS= xfstt +INSTALLATION_DIRS= bin \ + ${PKGMANDIR}/man1 \ + share/fonts/X11/TTF \ + share/doc/xfstt \ + share/examples/xfstt + +SUBST_CLASSES+= paths +SUBST_FILES.paths= doc/FAQ doc/xfstt.1x +SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},g' +SUBST_STAGE.paths= post-patch do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/xfstt ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/xfstt.1x ${PREFIX}/man/man1/xfstt.1 - ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/TTF - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xfstt - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xfstt - cd ${WRKSRC} && ( \ - ${INSTALL_DATA} doc/FAQ CHANGES TODO THANKS \ - ${PREFIX}/share/doc/xfstt/ ; \ - ${INSTALL_DATA} doc/examples/font.properties \ - ${PREFIX}/share/examples/xfstt/ \ + ${INSTALL_PROGRAM} ${WRKSRC}/src/xfstt ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/xfstt.1x \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xfstt.1 + cd ${WRKSRC} && ( \ + ${INSTALL_DATA} doc/FAQ TODO THANKS \ + ${DESTDIR}${PREFIX}/share/doc/xfstt/ ; \ + ${INSTALL_DATA} doc/examples/font.properties \ + ${DESTDIR}${PREFIX}/share/examples/xfstt/ \ ) +.include "../../x11/fontsproto/buildlink3.mk" +.include "../../x11/xproto/buildlink3.mk" + .include "../../mk/bsd.pkg.mk"