# New ports collection makefile for: NunniMCAX # Date created: 15 August 2004 # Whom: Sergey Skvortsov # # $FreeBSD$ # PORTNAME= NunniMCAX PORTVERSION= 1.4.1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= nunnimcax MAINTAINER= skv@FreeBSD.org COMMENT= C, non validating XML parser with SAX-like API USE_LDCONFIG= YES SHLIB_MAJOR= 2 PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}" .if defined(NOPROFILE) || defined(NO_PROFILE) PLIST_SUB+= PROFILE="@comment " .else PLIST_SUB+= PROFILE="" .endif post-patch: ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ ${FILESDIR}/Makefile > ${WRKSRC}/Makefile .include