- Respect NOPORTDOCS and NOPORTEXAMPLES
- Minor refactor PR: 142590 [based on] Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
parent
3f28f91a99
commit
a42945f1ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247705
@ -19,14 +19,19 @@ MAKEFILE= GNUmakefile
|
||||
WRKSRC= ${WRKDIR}/trickyirc
|
||||
USE_GMAKE= YES
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
post-install:
|
||||
@ ${MKDIR} ${PREFIX}/share/doc/TrickyIRC
|
||||
# @ ${MKDIR} ${PREFIX}/share/examples/TrickyIRC
|
||||
# ${INSTALL_DATA} ${WRKSRC}/config.sample \
|
||||
# ${PREFIX}/share/examples/TrickyIRC
|
||||
${INSTALL_DATA} ${WRKSRC}/README \
|
||||
${PREFIX}/share/doc/TrickyIRC
|
||||
@${STRIP_CMD} ${PREFIX}/bin/trickyirc
|
||||
@${CAT} ${PKGMESSAGE} | ${SED} -e s:/usr/local:${PREFIX}:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ ${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@ ${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/config.sample ${EXAMPLESDIR}
|
||||
.endif
|
||||
@${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
irc/trickyirc/files/patch-core_make_make.mk
Normal file
11
irc/trickyirc/files/patch-core_make_make.mk
Normal file
@ -0,0 +1,11 @@
|
||||
--- core/make/make.mk.orig 2010-01-10 19:00:06.000000000 +0000
|
||||
+++ core/make/make.mk 2010-01-10 19:00:28.000000000 +0000
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
doinst :
|
||||
cp ${BINNAME} ${INSTALLDIR}
|
||||
- chown root.bin ${INSTALLDIR}${BINNAME}
|
||||
+ chown root:bin ${INSTALLDIR}${BINNAME}
|
||||
chmod a+rx ${INSTALLDIR}${BINNAME}
|
||||
|
||||
# Messages
|
@ -1 +0,0 @@
|
||||
Please read /usr/local/share/doc/TrickyIRC/README before using!
|
@ -1,3 +0,0 @@
|
||||
bin/trickyirc
|
||||
share/doc/TrickyIRC/README
|
||||
@dirrm share/doc/TrickyIRC
|
Loading…
Reference in New Issue
Block a user