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

Annotation of pkgsrc/editors/pico/Makefile, Revision 1.53

1.53    ! grant       1: # $NetBSD: Makefile,v 1.52 2004/05/17 10:56:17 grant Exp $
1.1       frueauf     2:
1.51      adam        3: DISTNAME=      pine4.60
                      4: PKGNAME=       pico-4.7
1.1       frueauf     5: CATEGORIES=    editors
1.25      tron        6: MASTER_SITES=  ftp://ftp.cac.washington.edu/pine/ \
1.42      tron        7:                ftp://ftp.fu-berlin.de/unix/mail/pine/
1.34      tron        8: EXTRACT_SUFX=  .tar.bz2
1.1       frueauf     9:
1.40      grant      10: MAINTAINER=    tech-pkg@NetBSD.org
1.9       tsarna     11: HOMEPAGE=      http://www.washington.edu/pine/
1.24      wiz        12: COMMENT=       Text editor (ships with Pine), and Pine's text editing lib
1.26      jtb        13:
                     14: LICENSE=       pine-license
1.1       frueauf    15:
1.50      xtraeme    16: USE_BUILDLINK3=        YES
1.34      tron       17: USE_LIBTOOL=   YES
1.20      jlam       18:
                     19: .include "../../mk/bsd.prefs.mk"
                     20:
                     21: .if ${OPSYS} == "SunOS"
1.52      grant      22: BUILDNAME=     so5
1.31      schmonz    23: .elif ${OPSYS} == "Darwin"
1.52      grant      24: BUILDNAME=     osx
1.53    ! grant      25: LIBS+=         -lcurses
1.38      jschauma   26: .elif ${OPSYS} == "Linux"
1.52      grant      27: BUILDNAME=     lnx
1.20      jlam       28: .else
1.52      grant      29: BUILDNAME=     neb
1.20      jlam       30: .endif
1.21      hubertf    31:
1.30      yyamano    32: MAKE_ENV+=     _STRIPFLAG_INSTALL=     # debug...
1.1       frueauf    33:
                     34: do-build:
1.34      tron       35:        cd ${WRKSRC} && \
1.45      wiz        36:        ${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
1.49      jlam       37:          CC="${LIBTOOL} ${CC}" \
1.53    ! grant      38:          PREFIX=${PREFIX} OPTIMIZE="${CFLAGS}" \
        !            39:          EXTRALDFLAGS="${LIBS}"
1.1       frueauf    40:
                     41: do-install:
1.48      jlam       42:        ${LIBTOOL} --mode=install ${INSTALL_DATA} \
1.34      tron       43:          ${WRKSRC}/pico/libpico.la ${PREFIX}/lib
1.48      jlam       44:        ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
1.34      tron       45:          ${WRKSRC}/pico/pico ${WRKSRC}/pico/pilot ${PREFIX}/bin
                     46:        ${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1
                     47:        ${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1
1.13      tv         48:        ${INSTALL_DATA_DIR} ${PREFIX}/include/pico
                     49:        cd ${WRKSRC}/pico && \
1.34      tron       50:        ${INSTALL_DATA} *.h ${PREFIX}/include/pico
1.1       frueauf    51:
1.50      xtraeme    52: .include "../../devel/ncurses/buildlink3.mk"
1.1       frueauf    53: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>