Changeset View
Changeset View
Standalone View
Standalone View
devel/easygit/Makefile
Show All 11 Lines | |||||
COMMENT= Easy wrapper for git | COMMENT= Easy wrapper for git | ||||
RUN_DEPENDS= git:${PORTSDIR}/devel/git | RUN_DEPENDS= git:${PORTSDIR}/devel/git | ||||
DISTREVISION= 0 # bump this if distfile is changed inplace | DISTREVISION= 0 # bump this if distfile is changed inplace | ||||
DIST_SUBDIR= eg/${PORTVERSION}_${DISTREVISION} | DIST_SUBDIR= eg/${PORTVERSION}_${DISTREVISION} | ||||
USES= perl5 shebangfix | USES= perl5 shebangfix | ||||
SHEBANG_FILES= ${WRKDIR}/eg | SHEBANG_FILES= ${WRKSRC}/eg | ||||
USE_PERL5= run | USE_PERL5= run | ||||
NO_WRKSUBDIR= yes | NO_WRKSUBDIR= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
PLIST_FILES= bin/eg bin/easygit | PLIST_FILES= bin/eg bin/easygit | ||||
do-extract: | do-extract: | ||||
@${CP} ${_DISTDIR}/${DISTNAME} ${WRKDIR} | @${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC} | ||||
do-install: | do-install: | ||||
${MKDIR} ${STAGEDIR}${PREFIX}/bin | ${MKDIR} ${STAGEDIR}${PREFIX}/bin | ||||
${INSTALL_SCRIPT} ${WRKDIR}/eg ${STAGEDIR}${PREFIX}/bin/ | ${INSTALL_SCRIPT} ${WRKSRC}/eg ${STAGEDIR}${PREFIX}/bin/ | ||||
cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ./eg ${STAGEDIR}${PREFIX}/bin/easygit | cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ./eg ${STAGEDIR}${PREFIX}/bin/easygit | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |