Index: head/mail/smtptrapd/pkg-install =================================================================== --- head/mail/smtptrapd/pkg-install (revision 548590) +++ head/mail/smtptrapd/pkg-install (nonexistent) @@ -1,14 +0,0 @@ -#!/bin/sh - -case $2 in - PRE-INSTALL) - ;; - POST-INSTALL) - install -d -m 0755 /var/run/smtptrapd-root - ;; - *) - echo "Unexpected Argument $2." - exit 1 - ;; -esac -exit 0 Property changes on: head/mail/smtptrapd/pkg-install ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/smtptrapd/Makefile =================================================================== --- head/mail/smtptrapd/Makefile (revision 548590) +++ head/mail/smtptrapd/Makefile (revision 548591) @@ -1,23 +1,28 @@ # Created by: Anders Nordby # $FreeBSD$ PORTNAME= smtptrapd PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= RFC 2821 compliant SMTP service that always returns a 4xx soft error USE_RC_SUBR= smtptrapd -PLIST_FILES= bin/smtptrapd +LICENSE= GPLv2 +PLIST_FILES= bin/smtptrapd \ + "@dir(,,0755) /var/run/smtptrapd-root" + do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${CC} ${CFLAGS} -lpthread -o smtptrapd smtptrapd.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/smtptrapd ${STAGEDIR}${PREFIX}/bin/ + ${MKDIR} ${STAGEDIR}/var/run/smtptrapd-root .include