summaryrefslogtreecommitdiff
path: root/archivers/nomarch/Makefile
blob: 254a3bd81cdcbce1d1006dedb3e183e9fb3d2cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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

MAN1=	nomarch.1
NO_STAGE=	yes
PLIST_FILES=	bin/nomarch
PORTDOCS=	COPYING ChangeLog NEWS README TODO

post-patch:
	${REINPLACE_CMD} -e 's|CC=|CC?=|' \
		-e 's|CFLAGS=|CFLAGS?=|' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/nomarch ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/nomarch.1 ${MAN1PREFIX}/man/man1

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>