blob: 9036813b4b92fb3873fb95b931a113a91c8d056c (
plain) (
blame)
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
35
36
37
38
39
40
|
# New ports collection makefile for: iselect
# Date created: 03-Jan-1998
# Whom: Ralf S. Engelschall <rse@engelschall.com>
#
# $FreeBSD$
#
PORTNAME= iselect
PORTVERSION= 1.3.1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.ossp.org/pkg/tool/iselect/
MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive Selection Tool
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= iselect.1
.if defined(WITH_SLANG)
LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang
CONFIGURE_ARGS+= --with-incdir=${LOCALBASE}/include \
--with-libdir=${LOCALBASE}/lib
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iselect ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/iselect.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/example && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|