mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
f50681d67e
- Assign to submitter - Fix some issues with - trailing spaces and/or tabs (for example: if you enter a COMMAND and then enter a few spaces or tabs, then you will get an error) - parsing command line - some compiler warnings - While here simplify DOCS installation PR: 228100 Submitted by: Oleg P. <pzn.unixbsd@gmail.com>
36 lines
782 B
Makefile
36 lines
782 B
Makefile
# Created by: Thierry Dussuet <dussuett@wigwam.ethz.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ods2
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.lugs.ch/~dussuett/
|
|
DISTNAME= ods2
|
|
|
|
MAINTAINER= pzn.unixbsd@gmail.com
|
|
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}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|