mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
1ebe49cb65
Use MAKE_ARGS instead of patching to respect CC and CFLAGS
29 lines
792 B
Makefile
29 lines
792 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= e00compr
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://avce00.maptools.org/dl/
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Library to Read/Write Compressed E00 Files
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES= gmake
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
PLIST_FILES= bin/e00conv include/e00compr.h \
|
|
lib/e00compr.a
|
|
PORTDOCS= e00compr.html
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/e00conv ${STAGEDIR}${PREFIX}/bin/e00conv
|
|
${INSTALL_DATA} ${WRKSRC}/e00compr.h ${STAGEDIR}${PREFIX}/include/e00compr.h
|
|
${INSTALL_DATA} ${WRKSRC}/e00compr.a ${STAGEDIR}${PREFIX}/lib/e00compr.a
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/e00compr.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|