svn commit: r341487 - head/devel/cvs-syncmail
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jan 28 00:02:29 UTC 2014
Author: bapt
Date: Tue Jan 28 00:02:29 2014
New Revision: 341487
URL: http://svnweb.freebsd.org/changeset/ports/341487
QAT: https://qat.redports.org/buildarchive/r341487/
Log:
Support stage
Use shebangfix
Remove support for the nonexisting cvsnt
Add dependency on cvs
Modified:
head/devel/cvs-syncmail/Makefile
Modified: head/devel/cvs-syncmail/Makefile
==============================================================================
--- head/devel/cvs-syncmail/Makefile Mon Jan 27 23:58:30 2014 (r341486)
+++ head/devel/cvs-syncmail/Makefile Tue Jan 28 00:02:29 2014 (r341487)
@@ -11,35 +11,21 @@ EXTRACT_SUFX=
MAINTAINER= ports at FreeBSD.org
COMMENT= CVS notification tool
-.if defined(WITH_CVSNT)
-# Use the CVSNT binary when generating diffs instead of the system CVS
-RUN_DEPENDS= ${LOCALBASE}/bin/cvsnt:${PORTSDIR}/devel/cvsnt
-.endif
+RUN_DEPENDS= cvs:${PORTSDIR}/devel/cvs
+USES= shebangfix
+SHEBANG_FILES= ${DISTNAME}
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_PYTHON= yes
PLIST_FILES= bin/${DISTNAME}
-NO_STAGE= yes
do-extract:
@${MKDIR} ${WRKSRC}
- @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
-
-do-patch:
- @${REINPLACE_CMD} -e "s| /usr/bin/python|${PYTHON_CMD}|" \
- ${WRKSRC}/${DISTNAME}
-
- @${REINPLACE_CMD} -e "s|cvs -fn update|/usr/bin/cvs -fn update|" \
- ${WRKSRC}/${DISTNAME}
-
-.if defined(WITH_CVSNT)
- @${REINPLACE_CMD} -e "s|/usr/bin/cvs|${LOCALBASE}/bin/cvsnt|" \
- ${WRKSRC}/${DISTNAME}
-.endif
+ ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${DISTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${DISTNAME}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list