Lines 6-14
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= hmac |
8 |
PORTNAME= hmac |
9 |
PORTVERSION= 0.3.2 |
9 |
PORTVERSION= 0.4.0 |
10 |
CATEGORIES= security ruby |
10 |
CATEGORIES= security ruby |
11 |
MASTER_SITES= RF/ruby-hmac |
11 |
MASTER_SITES= RG |
12 |
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} |
12 |
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} |
13 |
DISTNAME= ruby-${PORTNAME}-${PORTVERSION} |
13 |
DISTNAME= ruby-${PORTNAME}-${PORTVERSION} |
14 |
|
14 |
|
Lines 17-30
Link Here
|
17 |
|
17 |
|
18 |
USE_RUBY= yes |
18 |
USE_RUBY= yes |
19 |
USE_RUBYGEMS= yes |
19 |
USE_RUBYGEMS= yes |
|
|
20 |
RUBYGEM_AUTOPLIST= yes |
20 |
GEM_NAME= ${DISTNAME} |
21 |
GEM_NAME= ${DISTNAME} |
21 |
|
22 |
|
22 |
post-install: |
|
|
23 |
@${ECHO} ${GEM_CACHE} > ${TMPPLIST} |
24 |
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST} |
25 |
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST} |
26 |
@${ECHO} ${GEM_SPEC} >> ${TMPPLIST} |
27 |
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST} |
28 |
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST} |
29 |
|
30 |
.include <bsd.port.mk> |
23 |
.include <bsd.port.mk> |