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

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

1.45    ! wiz         1: # $NetBSD: Makefile,v 1.44 2003/09/12 22:17:28 wiz Exp $
1.1       frueauf     2:
1.43      tron        3: DISTNAME=      pine4.58
1.41      adam        4: PKGNAME=       pico-4.6
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.34      tron       16: USE_BUILDLINK2=        YES
                     17: USE_LIBTOOL=   YES
1.20      jlam       18:
                     19: .include "../../mk/bsd.prefs.mk"
                     20:
                     21: .if ${OPSYS} == "SunOS"
                     22: BUILDNAME= so5
1.31      schmonz    23: .elif ${OPSYS} == "Darwin"
                     24: BUILDNAME= osx
1.38      jschauma   25: .elif ${OPSYS} == "Linux"
                     26: BUILDNAME= lnx
1.20      jlam       27: .else
                     28: BUILDNAME= neb
                     29: .endif
1.21      hubertf    30:
1.30      yyamano    31: MAKE_ENV+=     _STRIPFLAG_INSTALL=     # debug...
1.1       frueauf    32:
                     33: do-build:
1.34      tron       34:        cd ${WRKSRC} && \
1.45    ! wiz        35:        ${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
        !            36:          CC="${PKGLIBTOOL} ${BUILDLINK_CC}" \
1.41      adam       37:          PREFIX=${PREFIX} OPTIMIZE="${CFLAGS}"
1.1       frueauf    38:
                     39: do-install:
1.32      jlam       40:        ${PKGLIBTOOL} --mode=install ${INSTALL_DATA} \
1.34      tron       41:          ${WRKSRC}/pico/libpico.la ${PREFIX}/lib
1.32      jlam       42:        ${PKGLIBTOOL} --mode=install ${INSTALL_PROGRAM} \
1.34      tron       43:          ${WRKSRC}/pico/pico ${WRKSRC}/pico/pilot ${PREFIX}/bin
                     44:        ${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1
                     45:        ${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1
1.13      tv         46:        ${INSTALL_DATA_DIR} ${PREFIX}/include/pico
                     47:        cd ${WRKSRC}/pico && \
1.34      tron       48:        ${INSTALL_DATA} *.h ${PREFIX}/include/pico
1.1       frueauf    49:
1.38      jschauma   50: .include "../../devel/ncurses/buildlink2.mk"
1.1       frueauf    51: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>