mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
33 lines
891 B
Makefile
33 lines
891 B
Makefile
# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qmail-remove
|
|
PORTVERSION= 0.95
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.linuxmagic.com/opensource/qmail/qmail-remove/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Removes messages from your qmail queue based on a particular string
|
|
|
|
PLIST_FILES= sbin/qmail-remove bin/populate.pl
|
|
PORTDOCS= INSTALL LICENSE README
|
|
|
|
NO_STAGE= yes
|
|
do-build:
|
|
@(cd ${WRKSRC} ;\
|
|
${ECHO_MSG} "Compiling ${PORTNAME}:" ; \
|
|
${ECHO_MSG} "${CC} ${CFLAGS} ${LDFLAGS} ${PORTNAME}.c -o ${PORTNAME}" ;\
|
|
${CC} ${CFLAGS} ${LDFLAGS} ${PORTNAME}.c -o ${PORTNAME} )
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/populate.pl ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|