Makefile - randomcrap - random crap programs of varying quality
 (HTM) git clone git://git.codemadness.org/randomcrap
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       Makefile (1130B)
       ---
            1 COMMENT =                RSS/Atom newsreader and formatting programs
            2 DISTNAME =                sfeed-2.1
            3 CATEGORIES =                www
            4 
            5 HOMEPAGE =                https://codemadness.org/sfeed.html
            6 
            7 MAINTAINER =                Hiltjo Posthuma <hiltjo@codemadness.org>
            8 
            9 # ISC
           10 PERMIT_PACKAGE =        Yes
           11 
           12 SITES =                        https://codemadness.org/releases/sfeed/
           13 
           14 # uses pledge()
           15 # uses unveil()
           16 WANTLIB +=                c curses
           17 
           18 MAKE_FLAGS =                CC='${CC}' \
           19                         CFLAGS='${CFLAGS}' \
           20                         LDFLAGS='${LDFLAGS}' \
           21                         COMPATOBJ=''
           22 
           23 # (optional) run-time dependencies for sfeed_update script:
           24 # * iconv: needed only for feeds that are not UTF-8 encoded.
           25 # * xdg-open: for opening links or enclosures in sfeed_curses.
           26 # * xclip: for copying a link to the clipboard in sfeed_curses.
           27 # * lynx: for converting HTML to plain-text in sfeed_content.
           28 RUN_DEPENDS =                converters/libiconv
           29 
           30 NO_TEST =                Yes
           31 
           32 EXAMPLESDIR =                ${PREFIX}/share/examples/sfeed
           33 
           34 # copy example for OpenBSD which uses the base ftp program (instead of curl).
           35 post-build:
           36         cd ${WRKBUILD} && cp ${FILESDIR}/sfeedrc.example sfeedrc.example
           37 
           38 post-install:
           39         ${INSTALL_DATA_DIR} ${EXAMPLESDIR}/
           40         mv ${PREFIX}/share/doc/sfeed/sfeedrc.example ${EXAMPLESDIR}/
           41 
           42 .include <bsd.port.mk>