mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
c8544f1b2b
Properly respect CC and CFLAGS (avoid useless patching)
26 lines
674 B
Makefile
26 lines
674 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nomarch
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= utils/compress
|
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
|
COMMENT= Extracts files from the old '.arc' archive format
|
|
|
|
PLIST_FILES= bin/nomarch man/man1/nomarch.1.gz
|
|
PORTDOCS= COPYING ChangeLog NEWS README TODO
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nomarch ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/nomarch.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|