1c9913eb82
- Unbreak fetching: upstream are using Debian CDN officially - Stop demanding GNU make: builds fine with BSD make as well - Define LICENSE (GPLv2), install couple of docs and sample configuration file while here - Update port description text and project web address
41 lines
980 B
Makefile
41 lines
980 B
Makefile
# Created by: Matt Peterson <matt@peterson.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= deskmenu
|
|
PORTVERSION= 1.4.5
|
|
CATEGORIES= x11
|
|
MASTER_SITES= DEBIAN/pool/main/d/${PORTNAME} GENTOO
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= matt@peterson.org
|
|
COMMENT= X11 application launcher
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gtk20
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PLIST_FILES= bin/deskmenu man/man1/deskmenu.1.gz \
|
|
@sample\ etc/deskmenurc.sample
|
|
PORTDOCS= AUTHORS ChangeLog
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,-O2 -g ,,' ${WRKSRC}/src/Makefile.in
|
|
@${REINPLACE_CMD} -e 's,/etc/deskmenurc,${ETCDIR}rc,' \
|
|
${WRKSRC}/example_rc ${WRKSRC}/src/deskmenu.c
|
|
@${LN} -sf debian/changelog ${WRKSRC}/ChangeLog
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/example_rc ${STAGEDIR}${ETCDIR}rc.sample
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|