Remove pkg-plist using code from ports/105254.
This commit is contained in:
parent
b15c405bb1
commit
40e1c2fb93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177820
@ -22,6 +22,8 @@ RESTRICTED= Restrictive license
|
||||
|
||||
WRKSRC= ${WRKDIR}/netbeans
|
||||
|
||||
SUB_FILES= pkg-install pkg-deinstall
|
||||
|
||||
DOWNLOAD_URL?= http://www.netbeans.org/download/release36/promoted/FCS/release36-build-tar-bz2.html
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -41,5 +43,8 @@ do-install:
|
||||
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans3
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans3
|
||||
@${LN} -sf ${PREFIX}/netbeans3/bin/runide.sh ${PREFIX}/bin/netbeans3
|
||||
@(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) | ${SED} -ne 's,^netbeans,netbeans3,p' >> ${TMPPLIST}
|
||||
@(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^netbeans,netbeans3,' -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
|
||||
@(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^netbeans,netbeans3,' -ne 's,^,@exec mkdir -p %D/,p' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
9
java/netbeans3/files/pkg-deinstall.in
Normal file
9
java/netbeans3/files/pkg-deinstall.in
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$2" in
|
||||
DEINSTALL)
|
||||
rm -f %%PREFIX%%/bin/netbeans3
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
9
java/netbeans3/files/pkg-install.in
Normal file
9
java/netbeans3/files/pkg-install.in
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$2" in
|
||||
POST-INSTALL)
|
||||
ln -sf %%PREFIX%%/netbeans3/bin/runide.sh %%PREFIX%%/bin/netbeans3
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
File diff suppressed because it is too large
Load Diff
@ -22,6 +22,8 @@ RESTRICTED= Restrictive license
|
||||
|
||||
WRKSRC= ${WRKDIR}/netbeans
|
||||
|
||||
SUB_FILES= pkg-install pkg-deinstall
|
||||
|
||||
DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=1&lang=1&rv=4.1&b_bt=2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -42,5 +44,8 @@ do-install:
|
||||
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans4
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans4
|
||||
@${LN} -sf ${PREFIX}/netbeans4/bin/netbeans ${PREFIX}/bin/netbeans4
|
||||
@(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) | ${SED} -ne 's,^netbeans,netbeans4,p' >> ${TMPPLIST}
|
||||
@(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^netbeans,netbeans4,' -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
|
||||
@(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^netbeans,netbeans4,' -ne 's,^,@exec mkdir -p %D/,p' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
9
java/netbeans4/files/pkg-deinstall.in
Normal file
9
java/netbeans4/files/pkg-deinstall.in
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$2" in
|
||||
DEINSTALL)
|
||||
rm -f %%PREFIX%%/bin/netbeans4
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
9
java/netbeans4/files/pkg-install.in
Normal file
9
java/netbeans4/files/pkg-install.in
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$2" in
|
||||
POST-INSTALL)
|
||||
ln -sf %%PREFIX%%/netbeans4/bin/netbeans %%PREFIX%%/bin/netbeans4
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
File diff suppressed because it is too large
Load Diff
@ -22,6 +22,8 @@ RESTRICTED= Restrictive license
|
||||
|
||||
WRKSRC= ${WRKDIR}/netbeans
|
||||
|
||||
SUB_FILES= pkg-install pkg-deinstall
|
||||
|
||||
DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=1&lang=1&rv=4.1&b_bt=2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -42,5 +44,8 @@ do-install:
|
||||
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans4
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans4
|
||||
@${LN} -sf ${PREFIX}/netbeans4/bin/netbeans ${PREFIX}/bin/netbeans4
|
||||
@(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) | ${SED} -ne 's,^netbeans,netbeans4,p' >> ${TMPPLIST}
|
||||
@(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^netbeans,netbeans4,' -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
|
||||
@(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^netbeans,netbeans4,' -ne 's,^,@exec mkdir -p %D/,p' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
9
java/netbeans5/files/pkg-deinstall.in
Normal file
9
java/netbeans5/files/pkg-deinstall.in
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$2" in
|
||||
DEINSTALL)
|
||||
rm -f %%PREFIX%%/bin/netbeans4
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
9
java/netbeans5/files/pkg-install.in
Normal file
9
java/netbeans5/files/pkg-install.in
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$2" in
|
||||
POST-INSTALL)
|
||||
ln -sf %%PREFIX%%/netbeans4/bin/netbeans %%PREFIX%%/bin/netbeans4
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
File diff suppressed because it is too large
Load Diff
@ -22,6 +22,8 @@ RESTRICTED= Restrictive license
|
||||
|
||||
WRKSRC= ${WRKDIR}/netbeans
|
||||
|
||||
SUB_FILES= pkg-install pkg-deinstall
|
||||
|
||||
DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=1&lang=1&rv=4.1&b_bt=2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -42,5 +44,8 @@ do-install:
|
||||
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans4
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans4
|
||||
@${LN} -sf ${PREFIX}/netbeans4/bin/netbeans ${PREFIX}/bin/netbeans4
|
||||
@(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) | ${SED} -ne 's,^netbeans,netbeans4,p' >> ${TMPPLIST}
|
||||
@(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^netbeans,netbeans4,' -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
|
||||
@(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^netbeans,netbeans4,' -ne 's,^,@exec mkdir -p %D/,p' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
9
java/netbeans55/files/pkg-deinstall.in
Normal file
9
java/netbeans55/files/pkg-deinstall.in
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$2" in
|
||||
DEINSTALL)
|
||||
rm -f %%PREFIX%%/bin/netbeans4
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
9
java/netbeans55/files/pkg-install.in
Normal file
9
java/netbeans55/files/pkg-install.in
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$2" in
|
||||
POST-INSTALL)
|
||||
ln -sf %%PREFIX%%/netbeans4/bin/netbeans %%PREFIX%%/bin/netbeans4
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user