Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= cmdln |
8 |
PORTNAME= cmdln |
9 |
PORTVERSION= 1.1.1 |
9 |
PORTVERSION= 1.1.2 |
10 |
CATEGORIES= devel python |
10 |
CATEGORIES= devel python |
11 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
11 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
12 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
12 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 21-38
Link Here
|
21 |
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} |
21 |
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} |
22 |
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} |
22 |
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} |
23 |
|
23 |
|
24 |
PORTDOCS= README |
24 |
PORTDOCS= LICENSE README |
25 |
|
25 |
|
26 |
post-install: |
26 |
post-install: |
27 |
.if !defined(NOPORTDOCS) |
27 |
.if !defined(NOPORTDOCS) |
28 |
@${MKDIR} ${DOCSDIR} |
28 |
@${MKDIR} ${DOCSDIR} |
29 |
.for f in ${PORTDOCS} |
29 |
.for f in ${PORTDOCS} |
30 |
${INSTALL_MAN} ${WRKSRC}/$f.txt ${DOCSDIR}/$f |
30 |
@${INSTALL_DATA} ${WRKSRC}/$f.txt ${DOCSDIR}/$f |
31 |
.endfor |
31 |
.endfor |
32 |
.endif |
32 |
.endif |
33 |
.if !defined(NOPORTEXAMPLES) |
33 |
.if !defined(NOPORTEXAMPLES) |
34 |
@${MKDIR} ${EXAMPLESDIR} |
34 |
@${MKDIR} ${EXAMPLESDIR} |
35 |
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} |
35 |
@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} |
36 |
.endif |
36 |
.endif |
37 |
|
37 |
|
38 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |