mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
e249f2b941
- Fix pkg-plist - Makefile tweaks Approved by: linimon (mentor)
39 lines
840 B
Makefile
39 lines
840 B
Makefile
# New ports collection makefile for: ftpq
|
|
# Date created: Mon 03 Jul 2000
|
|
# Whom: will
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ftpq
|
|
PORTVERSION= 1.06
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= ftp
|
|
MASTER_SITES= http://mark.tranchant.co.uk/software/
|
|
|
|
MAINTAINER= beech@FreeBSD.org
|
|
COMMENT= Upload queue manager for non-permanent connections
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
MAN1= ftpq.1
|
|
PLIST_SUB+= SPOOLDIR=${SPOOLDIR}
|
|
PORTDOCS= CHANGELOG README TODO
|
|
|
|
# This may be set interactively at install-time:
|
|
SPOOLDIR?= /var/spool/ftpq
|
|
|
|
post-patch:
|
|
@ ${REINPLACE_CMD} -e 's#%%SPOOLDIR%%#${SPOOLDIR}#' \
|
|
${WRKSRC}/Makefile.in ${WRKSRC}/src/ftpq.h
|
|
|
|
post-install:
|
|
@ ${MKDIR} ${SPOOLDIR} && ${CHMOD} 777 ${SPOOLDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@ ${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|