summaryrefslogtreecommitdiffstats
path: root/archivers/nomarch/Makefile
blob: b6ad2a7081b7276c63146f67e4a77e6b504eec2c (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
# ex:ts=8
# New ports collection makefile for:	nomarch
# Date created:			Nov 5, 2001
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	nomarch
PORTVERSION=	1.1
CATEGORIES=	archivers
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	utils/compress

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt

MAN1=	nomarch.1

post-patch:
	@${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
		s,^PREFIX,#PREFIX,g ; \
		s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud