freebsd-ports/sysutils/ods2/Makefile
Dmitry Marakasov 3b3e9a373a - Switch to options helpers
- makeptch
2016-03-07 14:59:02 +00:00

34 lines
762 B
Makefile

# Created by: Thierry Dussuet <dussuett@wigwam.ethz.ch>
# $FreeBSD$
PORTNAME= ods2
PORTVERSION= 1.3
CATEGORIES= sysutils
MASTER_SITES= http://www.lugs.ch/~dussuett/
DISTNAME= ods2
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility for manipulating ODS-2 filesystems
USES= zip
NO_WRKSUBDIR= yes
MAKEFILE= makefile.unix
MAKE_ARGS= CCFLAGS="${CFLAGS}"
PLIST_FILES= sbin/ods2
PORTDOCS= aareadme.too aareadme.txt
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|cc |${CC} |; /-oods2/ s|vmstime\.o|& -lcompat|' \
${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${STAGEDIR}${PREFIX}/sbin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>