37 lines
806 B
Makefile
37 lines
806 B
Makefile
|
# New ports collection makefile for: ods2
|
||
|
# Date created: 31 January 2006
|
||
|
# Whom: 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
|
||
|
|
||
|
post-patch:
|
||
|
@${REINPLACE_CMD} -e 's|cc |${CC} |; /-oods2/ s|vmstime\.o|& -lcompat|' \
|
||
|
${WRKSRC}/${MAKEFILE}
|
||
|
|
||
|
do-install:
|
||
|
${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${PREFIX}/sbin
|
||
|
.if !defined(NOPORTDOCS)
|
||
|
${MKDIR} ${DOCSDIR}
|
||
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||
|
.endif
|
||
|
|
||
|
.include <bsd.port.mk>
|