2000-02-11 19:43:57 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2000/02/12 00:44:00 espie Exp $
|
1999-02-18 16:26:04 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.10 1999/01/06 17:11:23 dt Exp $
|
|
|
|
|
|
|
|
DISTNAME= Sharity-Light.1.2
|
|
|
|
PKGNAME= sharity-light-1.2
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.obdev.at/pub/Products/Sharity-Light/ \
|
2000-02-09 13:07:15 -05:00
|
|
|
ftp://ftp.warpnet.ro/mirrors/ftp.obdev.at/pub/Products/Sharity-Light/
|
2000-02-11 19:43:57 -05:00
|
|
|
NEED_VERSION= 1.195
|
1999-02-18 16:26:04 -05:00
|
|
|
|
2000-02-09 13:07:15 -05:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1999-02-18 16:26:04 -05:00
|
|
|
|
2000-02-09 13:07:15 -05:00
|
|
|
MAKE_FLAGS= ARCH="" THE_CC="${CC}" CFLAGS="${CFLAGS} -Wall"
|
1999-02-18 16:26:04 -05:00
|
|
|
|
|
|
|
post-extract:
|
2000-02-09 13:07:15 -05:00
|
|
|
@mkdir -p ${WRKSRC}/unshlight
|
|
|
|
@cp -f ${FILESDIR}/unshlight.c ${WRKSRC}/unshlight
|
|
|
|
@cp -f ${FILESDIR}/Makefile.unshlight ${WRKSRC}/unshlight/Makefile
|
1999-02-18 16:26:04 -05:00
|
|
|
|
|
|
|
post-build:
|
2000-02-09 13:07:15 -05:00
|
|
|
@cd ${WRKSRC}/unshlight && env ${MAKE_ENV} make ${MAKE_FLAGS}
|
1999-02-18 16:26:04 -05:00
|
|
|
|
|
|
|
do-install:
|
2000-02-09 13:07:15 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Sharity-Light
|
1999-02-18 16:26:04 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/shlight ${PREFIX}/sbin
|
2000-02-09 13:07:15 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/unshlight/unshlight ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Sharity-Light
|
1999-02-18 16:26:04 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/FAQ.txt ${PREFIX}/share/doc/Sharity-Light/FAQ
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/smbmount.8 ${PREFIX}/man/man8
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|