Lines 20-26
Link Here
|
20 |
# this is considered to be a part of the `postgresql' port. |
20 |
# this is considered to be a part of the `postgresql' port. |
21 |
|
21 |
|
22 |
PORTNAME= postgresql |
22 |
PORTNAME= postgresql |
23 |
PORTVERSION= 08.03.0200 |
23 |
PORTVERSION= 08.03.0300 |
24 |
CATEGORIES= databases |
24 |
CATEGORIES= databases |
25 |
MASTER_SITES= ${MASTER_SITE_PGSQL} |
25 |
MASTER_SITES= ${MASTER_SITE_PGSQL} |
26 |
MASTER_SITE_SUBDIR= odbc/versions/src |
26 |
MASTER_SITE_SUBDIR= odbc/versions/src |
Lines 55-72
Link Here
|
55 |
DATADIR_1= ${DATADIR}/odbc |
55 |
DATADIR_1= ${DATADIR}/odbc |
56 |
DOCSDIR_1= ${DOCSDIR}/odbc |
56 |
DOCSDIR_1= ${DOCSDIR}/odbc |
57 |
post-install: |
57 |
post-install: |
|
|
58 |
.if !defined(NOPORTDATA) |
58 |
@${MKDIR} ${DATADIR_1} |
59 |
@${MKDIR} ${DATADIR_1} |
59 |
${INSTALL_DATA} ${WRKSRC}/odbc.sql ${DATADIR_1} |
60 |
${INSTALL_DATA} ${WRKSRC}/*.sql ${DATADIR_1} |
60 |
${INSTALL_DATA} ${WRKSRC}/odbc-drop.sql ${DATADIR_1} |
61 |
.endif |
61 |
.if !defined(NOPORTDOCS) |
62 |
.if !defined(NOPORTDOCS) |
62 |
@${MKDIR} ${DOCSDIR_1} |
63 |
@${MKDIR} ${DOCSDIR_1} |
63 |
${TAR} -C ${WRKSRC}/docs --exclude '*Makefile*' -cf - . \ |
64 |
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR_1} |
64 |
| ${TAR} -C ${DOCSDIR_1} --unlink -xf - |
|
|
65 |
.if !defined(INSTALL_AS_USER) |
66 |
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR_1} |
67 |
${FIND} ${DOCSDIR_1} -type d -print0 | ${XARGS} -0 ${CHMOD} 755 |
68 |
${FIND} ${DOCSDIR_1} -type f -print0 | ${XARGS} -0 ${CHMOD} 644 |
69 |
.endif |
70 |
.endif |
65 |
.endif |
71 |
|
66 |
|
72 |
.include <bsd.port.mk> |
67 |
.include <bsd.port.mk> |