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

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

Diff for /pkgsrc/textproc/mdocml/Attic/Makefile between version 1.44 and 1.49

version 1.44, 2014/10/07 16:47:36 version 1.49, 2015/03/26 14:16:12
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
   
 DISTNAME=       mdocml-1.13.1  DISTNAME=       mdocml-1.13.3
 PKGREVISION=    1  PKGREVISION=    1
 CATEGORIES=     textproc devel  CATEGORIES=     textproc devel
 MASTER_SITES=   http://mdocml.bsd.lv/snapshots/  MASTER_SITES=   http://mdocml.bsd.lv/snapshots/
Line 10  HOMEPAGE= http://mdocml.bsd.lv/
Line 10  HOMEPAGE= http://mdocml.bsd.lv/
 COMMENT=        Convert man pages from mdoc, man, and tbl to txt, html, ps, or pdf  COMMENT=        Convert man pages from mdoc, man, and tbl to txt, html, ps, or pdf
 LICENSE=        2-clause-bsd # not exactly, but near enough  LICENSE=        2-clause-bsd # not exactly, but near enough
   
 MAKE_FLAGS+=    PREFIX=${PREFIX}  HAS_CONFIGURE=  yes
   
 CONFLICTS=      man-pages-[0-9]*  CONFLICTS=      man-pages-[0-9]*
   
Line 22  SUBST_SED.roff=  -e 's,Xr roff,Xr mandoc
Line 22  SUBST_SED.roff=  -e 's,Xr roff,Xr mandoc
   
 .include "../../mk/bsd.fast.prefs.mk"  .include "../../mk/bsd.fast.prefs.mk"
   
   post-extract:
           ${ECHO} PREFIX=${PREFIX} > ${WRKSRC}/configure.local
           ${ECHO} MANDIR=${PREFIX}/${PKGMANDIR} >> ${WRKSRC}/configure.local
           ${ECHO} CFLAGS=\"${CFLAGS:Q}\" >> ${WRKSRC}/configure.local
           ${ECHO} DBLIB=\"${LDFLAGS} -lsqlite3\" >> ${WRKSRC}/configure.local
           ${ECHO} INSTALL=\"${INSTALL:Q}\" >> ${WRKSRC}/configure.local
           ${ECHO} INSTALL_PROGRAM=\"${INSTALL_PROGRAM:Q}\" >> ${WRKSRC}/configure.local
           ${ECHO} INSTALL_LIB=\"${INSTALL_DATA:Q}\" >> ${WRKSRC}/configure.local
           ${ECHO} INSTALL_MAN=\"${INSTALL_MAN:Q}\" >> ${WRKSRC}/configure.local
           ${ECHO} INSTALL_DATA=\"${INSTALL_DATA:Q}\" >> ${WRKSRC}/configure.local
           ${ECHO} MANM_ROFF="mandoc-roff" >> ${WRKSRC}/configure.local
 # Mac OS X and Solaris 10 and newer do not support static binaries.  # Mac OS X and Solaris 10 and newer do not support static binaries.
 .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"  .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
 MAKE_FLAGS+=    STATIC=          ${ECHO} STATIC= >> ${WRKSRC}/configure.local
 .endif  .endif
   
 post-extract:  
         ${CP} -p ${FILESDIR}/*.c ${WRKSRC}  
   
 post-install:  
         cd ${DESTDIR}${PREFIX}/bin && mv preconv mandoc-preconv  
         cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && mv preconv.1 mandoc-preconv.1  
         cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7 && mv roff.7 mandoc-roff.7  
   
 .include "../../databases/sqlite3/buildlink3.mk"  .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.49

CVSweb <webmaster@jp.NetBSD.org>