aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pdmenu/Makefile
blob: 2e4f2ab4d017ee17e99bdfb06a5a0bdfa0da9f32 (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
32
33
34
35
36
37
# New ports collection makefile for:    pdmenu
# Date created:     14 December 1998
# Whom:         Neil Blakey-Milner <nbm@rucus.ru.ac.za>
#
# $FreeBSD$

PORTNAME=   pdmenu
PORTVERSION=    1.2.87
PORTREVISION=   0
CATEGORIES= misc
MASTER_SITES=   http://www.powertrip.co.za/distfiles/pdmenu/ \
                http://dev.powertrip.co.za/distfiles/pdmenu/ \
                ${MASTER_SITE_DEBIAN_POOL}
DISTNAME=   pdmenu_${PORTVERSION}

MAINTAINER= jacques@php.net
COMMENT=    A simple console menu program

LIB_DEPENDS=    slang.1:${PORTSDIR}/devel/libslang

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/pdmenu

MAN1=       pdmenu.1
MAN5=       pdmenurc.5

CC+=        -I${LOCALBASE}/include -L${LOCALBASE}/lib

CONFIGURE_ENV=  SLANG_LIB_LOC='${PREFIX}/lib' \
        SLANG_H_LOC='${PREFIX}/include/slang.h'

pre-install:
    ${MKDIR} ${PREFIX}/lib/pdmenu
    ${MKDIR} ${PREFIX}/share/pdmenu

.include <bsd.port.mk>