2000-09-30 02:27:54 +02:00
|
|
|
# New ports collection makefile for: gwhich
|
|
|
|
# Date created: 20 September 2000
|
|
|
|
# Whom: Jeremy Shaffner <jeremy@external.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gwhich
|
2007-02-04 05:56:53 +01:00
|
|
|
PORTVERSION= 2.16
|
2000-09-30 02:27:54 +02:00
|
|
|
CATEGORIES= misc
|
2005-10-11 20:13:19 +02:00
|
|
|
MASTER_SITES= ftp://ftp.cse.cuhk.edu.hk/pub/gnu/gnu/which/ \
|
|
|
|
http://voodoo.bawue.com/download/
|
2000-09-30 02:27:54 +02:00
|
|
|
DISTNAME= which-${PORTVERSION}
|
|
|
|
|
2006-04-05 07:46:33 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:51:06 +01:00
|
|
|
COMMENT= GNU Which - Everything you never wanted in a which
|
2000-09-30 02:27:54 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2005-10-11 20:13:19 +02:00
|
|
|
CONFIGURE_ARGS= --program-prefix=g
|
2000-09-30 02:27:54 +02:00
|
|
|
|
|
|
|
MAN1= gwhich.1
|
2005-12-04 11:40:32 +01:00
|
|
|
INFO= which
|
2000-09-30 02:27:54 +02:00
|
|
|
|
2007-02-05 01:03:48 +01:00
|
|
|
EXAMPLESDIR_REL= ${EXAMPLESDIR:S,^${PREFIX}/,,}
|
2007-02-04 05:56:53 +01:00
|
|
|
PLIST_FILES= bin/gwhich \
|
2007-02-05 01:03:48 +01:00
|
|
|
${EXAMPLESDIR_REL}/EXAMPLES
|
|
|
|
PLIST_DIRS= ${EXAMPLESDIR_REL}
|
2007-02-04 05:56:53 +01:00
|
|
|
|
2000-09-30 02:27:54 +02:00
|
|
|
post-install:
|
2007-02-04 05:56:53 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${EXAMPLESDIR}
|
2000-09-30 02:27:54 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|