freebsd-ports/ftp/ftpq/Makefile
Johann Visagie 5d72c36234 - Install some basic documentation in DOCSDIR
- Change the mode of SPOOLDIR if installed as package
- Bump PORTREVISION
2001-09-05 14:36:53 +00:00

39 lines
792 B
Makefile

# New ports collection makefile for: ftpq
# Date created: Mon 03 Jul 2000
# Whom: will
#
# $FreeBSD$
#
PORTNAME= ftpq
PORTVERSION= 1.05
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= ftp
MASTER_SITES= http://www.tranchant.freeserve.co.uk/software/
MAINTAINER= ports@FreeBSD.org
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= ftpq.1
PLIST_SUB+= SPOOLDIR=${SPOOLDIR}
# This may be set interactively at install-time:
SPOOLDIR?= /var/spool/ftpq
post-patch:
@ ${PERL} -pi -e 's#%%SPOOLDIR%%#${SPOOLDIR}#' \
${WRKSRC}/Makefile.in ${WRKSRC}/src/ftpq.h
post-install:
@ ${MKDIR} ${SPOOLDIR} && ${CHMOD} 777 ${SPOOLDIR}
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
.for docfile in CHANGELOG README TODO
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>