mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
36 lines
841 B
Makefile
36 lines
841 B
Makefile
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= smpeg
|
|
PORTVERSION= 0.4.4
|
|
PORTREVISION= 14
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= ftp://sunsite.auc.dk/pub/os/linux/loki/open-source/smpeg/ \
|
|
GENTOO
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Free MPEG1 video player library with sound support
|
|
|
|
LICENSE= LGPL20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake libtool
|
|
USE_SDL= sdl
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ENV= GLBASE="${LOCALBASE}" \
|
|
CC="${CXX}" REAL_CC="${CC}" \
|
|
SDL_CONFIG="${SDL_CONFIG}"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
#If you want to try the opengl/gtk player (which doesn't seem to work)
|
|
#comment out the following line.
|
|
CONFIGURE_ARGS= --disable-opengl-player \
|
|
--disable-gtk-player \
|
|
--enable-mmx
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsmpeg.so
|
|
|
|
.include <bsd.port.mk>
|