freebsd-ports/shells/shell-include/Makefile
Martin Wilke c8a7494f7e Allows include files to be used in shells the same way they are with C.
The file with the include code needs to be included. This is done by
figuring out were it is located using which.  . `which sh-include` will
take care of it for sh.

sh example...
. `which sh-include`
include fileGetLine
line=`fileGetLine /etc/group 4`

PR:		ports/111829
Submitted by:	Zane C. Bowers
2007-04-20 21:36:35 +00:00

39 lines
731 B
Makefile

# New ports collection makefile for: qar-bufo
# Date created: 18 April 2007
# Whom: Zane C. Bowers
#
# $FreeBSD$
#
PORTNAME= shell-include
PORTVERSION= 0.1.1
CATEGORIES= shells devel
MASTER_SITES= http://vvelox.net/src/shell-include/
DISTNAME= ${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= vvelox@vvelox.net
COMMENT= A include system for shell scripts
USE_PERL5= yes
MAN3= random::shortIntRandom.3 \
random.3 \
fileGetLine.3
MAN7= shell-include.7
WRKSRC= ${WRKDIR}/${PORTNAME}
#nothing to configure
do-configure:
@${ECHO} -n
#nothing to build
do-build:
@${ECHO} -n
do-install:
@${EXEC} cd ${WRKDIR}/${PORTNAME}/ ; ${WRKDIR}/${PORTNAME}/install ${PREFIX}
.include <bsd.port.mk>