|
Lines 11-32
Link Here
|
| 11 |
MASTER_SITES= http://purepistos.net/diakonos/ |
11 |
MASTER_SITES= http://purepistos.net/diakonos/ |
| 12 |
|
12 |
|
| 13 |
MAINTAINER= chris@officialunix.com |
13 |
MAINTAINER= chris@officialunix.com |
| 14 |
COMMENT= A Linux editor for the masses |
14 |
COMMENT= A Linux editor for the masses |
| 15 |
|
15 |
|
| 16 |
USE_RUBY= yes |
16 |
USE_RUBY= yes |
| 17 |
RUBY_VERSION= 1.9 |
17 |
RUBY_VERSION= 1.9 |
| 18 |
|
18 |
|
| 19 |
NO_BUILD= yes |
19 |
NO_BUILD= yes |
| 20 |
|
20 |
|
|
|
21 |
|
| 21 |
do-install: |
22 |
do-install: |
| 22 |
.for f in ${WRKSRC}/bin/* |
23 |
.for f in ${WRKSRC}/bin/* |
|
|
24 |
@${REINPLACE_CMD} 's|ruby|ruby19|g' ${WRKSRC}${f} |
| 23 |
${INSTALL_SCRIPT} ${WRKSRC}${f} ${PREFIX}/bin |
25 |
${INSTALL_SCRIPT} ${WRKSRC}${f} ${PREFIX}/bin |
| 24 |
.endfor |
26 |
.endfor |
| 25 |
.for f in ${WRKSRC}/lib/*.rb |
27 |
.for f in ${WRKSRC}/lib/*.rb |
| 26 |
${INSTALL_DATA} ${WRKSRC}${f} ${RUBY_SITELIBDIR}/ |
28 |
${INSTALL_DATA} ${WRKSRC}${f} ${RUBY_SITELIBDIR}/ |
| 27 |
.endfor |
29 |
.endfor |
| 28 |
.if !exists(${RUBY_SITELIBDIR}/${PORTNAME}) |
30 |
.if !exists(${RUBY_SITELIBDIR}/${PORTNAME}) |
| 29 |
${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME} |
31 |
${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME} |
| 30 |
${CP} -R -p ${WRKSRC}/lib/${PORTNAME} ${RUBY_SITELIBDIR}/ |
32 |
${CP} -R -p ${WRKSRC}/lib/${PORTNAME} ${RUBY_SITELIBDIR}/ |
| 31 |
.endif |
33 |
.endif |
| 32 |
.if !exists(${PREFIX}/etc/diakonos.conf) |
34 |
.if !exists(${PREFIX}/etc/diakonos.conf) |
|
Lines 44-48
Link Here
|
| 44 |
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}/ |
46 |
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}/ |
| 45 |
.endif |
47 |
.endif |
| 46 |
.endif |
48 |
.endif |
| 47 |
|
49 |
.if !exists(${RUBY_SITELIBDIR}/installation.rb) |
|
|
50 |
${CP} ${PKG_DIR}files/installation.rb ${RUBY_SITELIBDIR}/${PORTNAME} |
| 51 |
.endif |
| 48 |
.include <bsd.port.mk> |
52 |
.include <bsd.port.mk> |