[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / comms / jpilot

Annotation of pkgsrc/comms/jpilot/Makefile, Revision 1.49

1.49    ! rh          1: # $NetBSD: Makefile,v 1.44 2004/12/15 16:01:48 jlam Exp $
1.1       rh          2: #
                      3:
1.49    ! rh          4: DISTNAME=              jpilot-0.99.7
1.1       rh          5: CATEGORIES=            comms
1.13      jlam        6: MASTER_SITES=          http://jpilot.org/
1.1       rh          7:
1.49    ! rh          8: MAINTAINER=            tech-pkg@NetBSD.org
1.13      jlam        9: HOMEPAGE=              http://jpilot.org/
1.36      martti     10: COMMENT=               Desktop organizer application for the palm pilot
1.1       rh         11:
1.31      rh         12: BUILD_USES_MSGFMT=     YES
1.14      tron       13:
1.22      jlam       14: CONFLICTS+=            jpilot-libplugin-[0-9]*
1.1       rh         15:
1.39      jlam       16: USE_LIBTOOL=           YES
1.31      rh         17: USE_PKGLOCALEDIR=      YES
1.49    ! rh         18: USE_X11=               YES
1.43      jlam       19: USE_OLD_DES_API=       YES
1.49    ! rh         20: USE_DIRS+=             gnome1-1.0
        !            21: USE_TOOLS+=            pkg-config
1.29      jlam       22:
1.31      rh         23: GNU_CONFIGURE=         YES
1.29      jlam       24: CONFIGURE_ARGS+=       --with-gtk-prefix="${BUILDLINK_PREFIX.gtk}"
                     25: CONFIGURE_ARGS+=       --with-pilot-prefix="${BUILDLINK_PREFIX.pilot-link-libs}"
1.32      wiz        26: CONFIGURE_ARGS+=       --enable-gtk2
1.31      rh         27: LDFLAGS+=              -export-dynamic
1.29      jlam       28:
                     29: DOCDIR=                        ${PREFIX}/share/doc/jpilot
1.13      jlam       30: INCDIR=                        ${PREFIX}/include/jpilot
                     31: MAN1DIR=               ${PREFIX}/man/man1
                     32: PLUGINSDIR=            ${PREFIX}/lib/jpilot/plugins
                     33:
1.44      jlam       34: .include "../../comms/pilot-link-libs/buildlink3.mk"
                     35: .include "../../devel/gettext-lib/buildlink3.mk"
                     36: .include "../../security/openssl/buildlink3.mk"
                     37: .include "../../x11/gtk2/buildlink3.mk"
                     38:
1.13      jlam       39: post-extract:
                     40:        ${RM} -f ${WRKSRC}/po/Makefile.in
                     41:
                     42: pre-configure:
1.29      jlam       43:        for file in ${WRKSRC}/docs/jpilot.1; do                         \
                     44:                ${SED}  -e "s|@PREFIX@|${PREFIX}|g"                     \
                     45:                        $${file} > $${file}.fixed;                      \
                     46:                ${MV} -f $${file}.fixed $${file};                       \
                     47:        done
1.2       rh         48:
                     49: post-install:
1.29      jlam       50:        ${INSTALL_DATA_DIR} ${DOCDIR}
                     51:        ${INSTALL_DATA_DIR} ${INCDIR}
                     52:        ${INSTALL_DATA_DIR} ${PLUGINSDIR}
1.13      jlam       53:        cd ${WRKSRC}; ${INSTALL_DATA} libplugin.h prefs.h ${INCDIR}
1.29      jlam       54:        ${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCDIR}
1.13      jlam       55:        cd ${WRKSRC}/docs; ${INSTALL_MAN} *.1 ${MAN1DIR}
                     56:        ${TOUCH} ${PLUGINSDIR}/.directory
1.1       rh         57:
                     58: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>