[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xfstt

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/x11/xfstt/Makefile between version 1.8 and 1.39

version 1.8, 2002/08/22 02:22:14 version 1.39, 2014/11/12 15:24:16
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=               xfstt_1.3  DISTNAME=               xfstt-1.9.1
 PKGNAME=                ${DISTNAME:S/_/-/}  CATEGORIES=             x11 net fonts
 CATEGORIES=             x11 net  MASTER_SITES=           http://archive.hadrons.org/software/xfstt/
 MASTER_SITES=           http://download.berlios.de/xfstt/  EXTRACT_SUFX=           .tar.xz
   
 MAINTAINER=             packages@netbsd.org  MAINTAINER=             pkgsrc-users@NetBSD.org
 HOMEPAGE=               http://developer.berlios.de/projects/xfstt  HOMEPAGE=               http://www.hadrons.org/software/xfstt/
 COMMENT=                TrueType font server for X11  COMMENT=                TrueType font server for X11
   LICENSE=                gnu-gpl-v2
   
   USE_LANGUAGES=          c c++
   USE_X11BASE=            YES
   USE_TOOLS+=             gmake pkg-config
   GNU_CONFIGURE=          YES
   
   # There isn't really any l10n yet, only some preliminary i18n support.
   CONFIGURE_ARGS+=        --disable-nls
   
 CXXFLAGS+=              -fomit-frame-pointer -ffast-math  CXXFLAGS+=              -fomit-frame-pointer -ffast-math
 MAKE_ENV+=              CXXFLAGS="${CXXFLAGS}"  
   
 USE_X11BASE=            YES  LDFLAGS.SunOS+=         -lsocket -lnsl
 USE_GMAKE=              YES  
 WRKSRC=                 ${WRKDIR}/${PKGNAME}  
   
 post-patch:  RCD_SCRIPTS=            xfstt
         @( \  INSTALLATION_DIRS=      bin                     \
         cd ${WRKSRC} ; \                          ${PKGMANDIR}/man1       \
         for i in INSTALL perftest.cpp xfstt.cpp xfstt.1x; \                          share/fonts/X11/TTF     \
         do \                          share/doc/xfstt         \
             ${MV} $$i $$i.bak ; \                          share/examples/xfstt
             ${SED} -e 's;@X11BASE@;${X11BASE};' < $$i.bak > $$i ; \  
         done ; \  SUBST_CLASSES+=         paths
         )  SUBST_FILES.paths=      doc/FAQ
   SUBST_SED.paths=        -e 's,/usr,${PREFIX},g'
   SUBST_STAGE.paths=      post-patch
   
 do-install:  do-install:
         ${INSTALL_PROGRAM} ${WRKSRC}/xfstt ${PREFIX}/bin          ${INSTALL_PROGRAM} ${WRKSRC}/src/xfstt ${DESTDIR}${PREFIX}/bin
         ${INSTALL_MAN} ${WRKSRC}/xfstt.1x ${PREFIX}/man/man1/xfstt.1          ${INSTALL_MAN} ${WRKSRC}/doc/xfstt.1x \
         ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xfstt                  ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xfstt.1
         ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/xfstt          cd ${WRKSRC} && (                                       \
         ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/xfstt              ${INSTALL_DATA} doc/FAQ TODO THANKS         \
         ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/xfstt                  ${DESTDIR}${PREFIX}/share/doc/xfstt/ ;          \
         ${INSTALL_DATA} ${WRKSRC}/THANKS ${PREFIX}/share/doc/xfstt              ${INSTALL_DATA} doc/examples/font.properties        \
         ${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" ${FILESDIR}/xfstt.sh \                   ${DESTDIR}${PREFIX}/share/examples/xfstt/      \
                 > ${PREFIX}/etc/rc.d/xfstt          )
         ${CHMOD} 755 ${PREFIX}/etc/rc.d/xfstt  
         ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/fonts/TrueType  
         ${ECHO} belongs to xfstt pkg >${PREFIX}/lib/X11/fonts/TrueType/.keepme  
   
   .include "../../x11/fontsproto/buildlink3.mk"
   .include "../../x11/xproto/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.39

CVSweb <webmaster@jp.NetBSD.org>