diff options
author | miwi <miwi@FreeBSD.org> | 2008-03-21 06:42:34 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-03-21 06:42:34 +0800 |
commit | c94b6107c296169b8b1907719286adee42f56fd0 (patch) | |
tree | 02d25eed3f2ee1419c78a9b0e1cc1005f8e9005c /misc/pdmenu/Makefile | |
parent | 844db9867af4cf6cb9bbde9bda53b8356ed49295 (diff) | |
download | freebsd-ports-gnome-c94b6107c296169b8b1907719286adee42f56fd0.tar.gz freebsd-ports-gnome-c94b6107c296169b8b1907719286adee42f56fd0.tar.zst freebsd-ports-gnome-c94b6107c296169b8b1907719286adee42f56fd0.zip |
- Update to 1.2.93
PR: 121799
Submitted by: Ports Fury
Diffstat (limited to 'misc/pdmenu/Makefile')
-rw-r--r-- | misc/pdmenu/Makefile | 50 |
1 files changed, 33 insertions, 17 deletions
diff --git a/misc/pdmenu/Makefile b/misc/pdmenu/Makefile index 02fe2b9e64b3..9019f9d55d0b 100644 --- a/misc/pdmenu/Makefile +++ b/misc/pdmenu/Makefile @@ -5,34 +5,50 @@ # $FreeBSD$ PORTNAME= pdmenu -PORTVERSION= 1.2.90 +PORTVERSION= 1.2.93 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} +MASTER_SITES= DEBIAN +DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A simple console menu program LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang -BROKEN= Does not fetch +WRKSRC= ${WRKDIR}/${PORTNAME} -GNU_CONFIGURE= yes +USE_GNOME= gnometarget +USE_GETTEXT= yes USE_GMAKE= yes -WRKSRC= ${WRKDIR}/pdmenu +GNU_CONFIGURE= yes +CONFIGURE_ENV= SLANG_H_LOC="${LOCALBASE}/include/slang.h" \ + SLANG_LIB_LOC="${LOCALBASE}/lib" \ + LIBS="-lcurses -lintl" +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib 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 +PLIST_FILES= bin/pdmenu \ + etc/pdmenurc \ + share/locale/fr/LC_MESSAGES/pdmenu.mo \ + %%DATADIR%%/editdir.pl \ + %%DATADIR%%/showdir.pl +PLIST_DIRS= %%DATADIR%% + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/pdmenu ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/examples/pdmenurc ${PREFIX}/etc + ${INSTALL_MAN} ${WRKSRC}/doc/pdmenu.man ${MANPREFIX}/man/man1/pdmenu.1 + ${INSTALL_MAN} ${WRKSRC}/doc/pdmenurc.man ${MAN5PREFIX}/man/man5/pdmenurc.5 + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.pl ${DATADIR} +.for lang in fr + @${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES + ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ + ${PREFIX}/share/locale/${lang}/LC_MESSAGES/pdmenu.mo +.endfor + +post-install: + @${STRIP_CMD} ${PREFIX}/bin/pdmenu .include <bsd.port.mk> |