Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152486881
D19920.id56237.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D19920.id56237.diff
View Options
Index: devel/arcanist/Makefile
===================================================================
--- devel/arcanist/Makefile
+++ devel/arcanist/Makefile
@@ -2,7 +2,7 @@
PORTNAME= arcanist
PORTVERSION= 20181231
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
@@ -14,8 +14,18 @@
RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}libphutil>0:devel/libphutil@${PHP_FLAVOR}
-CONFLICTS= arc-*
+FLAVORS= default nosymlink
+FLAVOR?= ${FLAVORS:[1]}
+default_CONFLICTS_INSTALL= arc-*
+
+nosymlink_PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}-nosymlink
+.if ${FLAVOR:Mnosymlink}
+PLIST_SUB+= SYMLINK="@comment "
+.else
+PLIST_SUB+= SYMLINK=""
+.endif
+
PHP_DESTDIR= lib/php/arcanist
USES= php:flavors python:2.7,env shebangfix
SHEBANG_FILES= scripts/breakout.py
@@ -34,7 +44,9 @@
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}
cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}
+.if ! ${FLAVOR:Mnosymlink}
${LN} -sf ../${PHP_DESTDIR}/scripts/arcanist.php ${STAGEDIR}${PREFIX}/bin/arc
+.endif
@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/
${RLN} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/resources/shell/bash-completion ${STAGEDIR}${PREFIX}/share/bash-completion/completions/arc
Index: devel/arcanist/pkg-plist
===================================================================
--- devel/arcanist/pkg-plist
+++ devel/arcanist/pkg-plist
@@ -1,4 +1,4 @@
-bin/arc
+%%SYMLINK%%bin/arc
lib/php/arcanist/LICENSE
lib/php/arcanist/NOTICE
lib/php/arcanist/README.md
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 16, 6:34 AM (16 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31575870
Default Alt Text
D19920.id56237.diff (1 KB)
Attached To
Mode
D19920: devel/arcanist: Add slave to avoid conflicting with archivers/arc
Attached
Detach File
Event Timeline
Log In to Comment