Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F7805995
Command-Line Input
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
swills
Aug 11 2020, 11:28 PM
2020-08-11 23:28:50 (UTC+0)
Size
796 B
Referenced Files
None
Subscribers
None
Command-Line Input
View Options
# $FreeBSD$
PORTNAME= ports-tree-svn-revision
CATEGORIES= ports-mgmt
DISTFILES= # none
MAINTAINER= swills@FreeBSD.org
COMMENT= Package indicating the current ports tree svn revision
.include <bsd.port.pre.mk>
.if exists(${PORTSDIR}/.svn)
REV!= svnliteversion ${PORTSDIR} | ${SED} -e s/M//g
BRANCH!= svnlite info ${PORTSDIR} | ${GREP} '^URL:' | ${SED} -e s,.*ports/,, -e 's,.*branches/,,'
PORTVERSION= r${REV}-${BRANCH}
.else
IGNORE= not a subversion checkout
PORTVERSION= 0
.endif
NO_BUILD= yes
WRKSRC= ${WRKDIR}
PLIST_FILES= ${DOCSDIR}/svn-revision ${DOCSDIR}/svn-branch
do-configure:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${ECHO} r${REV} > ${STAGEDIR}${DOCSDIR}/svn-revision
@${ECHO} ${BRANCH} > ${STAGEDIR}${DOCSDIR}/svn-branch
do-install:
@${DO_NADA}
.include <bsd.port.post.mk>
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2746375
Default Alt Text
Command-Line Input (796 B)
Attached To
Mode
P415 Command-Line Input
Attached
Detach File
Event Timeline
Log In to Comment