[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / guile-pg

Annotation of pkgsrc/databases/guile-pg/Makefile, Revision 1.23

1.23    ! gdt         1: # $NetBSD: Makefile,v 1.22 2005/05/22 20:07:45 jlam Exp $
1.1       cjones      2: #
                      3:
1.19      wiz         4: DISTNAME=      guile-pg-0.23
1.1       cjones      5: CATEGORIES=    databases
1.19      wiz         6: MASTER_SITES=  http://www.glug.org/people/ttn/software/guile-pg/
1.1       cjones      7:
1.23    ! gdt         8: MAINTAINER=    gdt@NetBSD.org
1.19      wiz         9: HOMEPAGE=      http://www.glug.org/people/ttn/software/guile-pg/
1.1       cjones     10: COMMENT=       PostgreSQL interface for Guile
                     11:
                     12: USE_LIBTOOL=   YES
1.22      jlam       13: USE_TOOLS+=    gmake
1.1       cjones     14: GNU_CONFIGURE= YES
1.19      wiz        15:
                     16: TEST_TARGET=   check
1.1       cjones     17:
1.7       seb        18: INFO_FILES=    guile-pg.info
1.1       cjones     19:
1.19      wiz        20: # There are several versions of guile; the relevant ones for this
                     21: # module are 1.6.x, which is the current FSF version, and ttn-1.4,
                     22: # which is a forked version of 1.4 by Thien-Thi Nguyen, the maintainer
                     23: # of guile-pg.  fsf-1.4 is considered obsolete by nearly everyone.
                     24:
                     25: # In 1.6 (but not fsf-1.4 or ttn-1.4), binary modules are deprecated.
                     26: # guile-pg uses binary modules, and places them and scheme code in
                     27: # $GUILE_LIBSITE, which is searched by ttn-1.4, but not by 1.6.  The
                     28: # simplest nonproblematic solution is to symlink the installed code to
                     29: # where 1.6 expects it.  We could patch guile-pg to install in 1.6's
                     30: # preferred location ${PREFIX}/share/guile/site, but there is a shared
                     31: # library which of course cannot go in share.
                     32:
                     33: post-install:
                     34:        # guile should make this, but if not
                     35:        ${INSTALL_DATA_DIR} ${PREFIX}/share/guile/site
                     36:        cd ${PREFIX}/share/guile/site && ${LN} -sf ../../../lib/guile/site/database .
                     37:
                     38: PGSQL_VERSION_REQD=    74
1.16      recht      39:
1.19      wiz        40: .include "../../lang/guile/buildlink3.mk"
1.15      recht      41: .include "../../mk/pgsql.buildlink3.mk"
1.1       cjones     42: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>