1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/sysutils/ods2/Makefile
Emanuel Haupt bbdd0cfdb3 - Support staging
- Define DOCS option
2014-02-27 09:45:11 +00:00

33 lines
752 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= dussuett@wigwam.ethz.ch
COMMENT= An utility for manipulating ODS-2 filesystems
USE_ZIP= yes
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
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>