Index: Makefile =================================================================== --- Makefile +++ Makefile @@ -3,7 +3,7 @@ PORTNAME= smfsav PORTVERSION= 1.4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= SF/smfs DISTNAME= smf-sav-${PORTVERSION} @@ -26,8 +26,12 @@ LDFLAGS+= -lmilter -lpthread SMFSAV_RUN_DIR?=/var/run/smfs +PLIST_SUB= SMFSAV_RUN_DIR=${SMFSAV_RUN_DIR} SUB_FILES+= pkg-message +.include +.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/readme @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/smf-sav.c @@ -43,4 +47,4 @@ @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog readme ${STAGEDIR}${DOCSDIR} -.include +.include Index: pkg-plist =================================================================== --- pkg-plist +++ pkg-plist @@ -1,5 +1,5 @@ sbin/smf-sav -etc/smf-sav.conf.sample +@sample etc/smf-sav.conf.sample %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/readme -@dir(smfs,smfs,700) /var/run/smfs +@dir(smfs,smfs,700) %%SMFSAV_RUN_DIR%%