aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/abduco/Makefile
blob: ec7d52e4f686231ee086a3e6567737074e1e5ded (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $FreeBSD$

PORTNAME=   abduco
PORTVERSION=    0.6
CATEGORIES= sysutils
MASTER_SITES=   http://www.brain-dump.org/projects/abduco/

MAINTAINER= swdragonmaus@gmail.com
COMMENT=    Session management in a clean and simple way

LICENSE=    ISCL
LICENSE_FILE=   ${WRKSRC}/LICENSE

MAKE_ARGS=  CPPFLAGS="${CPPFLAGS}" STRIP="${STRIP_CMD}" \
        MANPREFIX="${MANPREFIX}/man"
PLIST_FILES=    bin/abduco \
        man/man1/abduco.1.gz

MAKE_JOBS_UNSAFE=   yes

pre-everything::
    @${ECHO_MSG} "You can build abduco with your own config.h using the ABDUCO_CONF knob:"
    @${ECHO_MSG} "make ABDUCO_CONF=/path/to/abduco/config.h install clean"

post-extract:
    @if [ -e "${ABDUCO_CONF}" ]; then \
        ${ECHO_MSG} "Creating symlink: config.h -> ${ABDUCO_CONF}"; \
        ${LN} -fs "${ABDUCO_CONF}" ${WRKSRC}/config.h; \
    fi

.include <bsd.port.mk>